/*! For license information please see graphic_vendors.ap-7c5e649d31e4fd8713a3.js.LICENSE.txt */ (self.webpackChunkweb_node=self.webpackChunkweb_node||[]).push([[742],{lHYj:function(t,e,n){"use strict";if(n.d(e,{ke:function(){return o},D:function(){return s},KZ:function(){return l},eq:function(){return u},bX:function(){return h},XD:function(){return f},Zi:function(){return p},_W:function(){return d}}),1223==n.j)var i=n("5MlX");var r=(0,n("NGbn").Yf)();function o(t,e,n,r,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l="update"===t;if(e&&e.isAnimationEnabled()){var u=void 0,h=void 0,c=void 0;return r?(u=(0,i.pD)(r.duration,200),h=(0,i.pD)(r.easing,"cubicOut"),c=0):(u=e.getShallow(l?"animationDurationUpdate":"animationDuration"),h=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(u=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(c=a.delay)),"function"===typeof c&&(c=c(n,o)),"function"===typeof u&&(u=u(n)),{duration:u||0,delay:c,easing:h}}return null}function a(t,e,n,r,a,s,l){var u,h=!1;"function"===typeof a?(l=s,s=a,a=null):(0,i.Kn)(a)&&(s=a.cb,l=a.during,h=a.isFrom,u=a.removeOpt,a=a.dataIndex);var c="remove"===t;c||e.stopAnimation("remove");var f=o(t,r,a,c?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(f&&f.duration>0){var p={duration:f.duration,delay:f.delay||0,easing:f.easing,done:s,force:!!s||!!l,setToFinal:!c,scope:t,during:l};h?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!h&&e.attr(n),l&&l(1),s&&s()}function s(t,e,n,i,r,o){a("update",t,e,n,i,r,o)}function l(t,e,n,i,r,o){a("init",t,e,n,i,r,o)}function u(t){if(!t.__zr)return!0;for(var e=0;e=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var h={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var p,d,g=r.getModel("universalTransition").get("delay"),v=Object.assign({setToFinal:!0},f);l(t)&&(p=t,d=e),l(e)&&(p=e,d=t);for(var y=p?p===t:t.length>e.length,m=p?u(d,p):u(y?e:t,[y?t:e]),_=0,x=0;x1e4))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n0&&i.group.traverse((function(t){t instanceof a.ZP&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function y(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function m(t){return(0,r.kJ)(t)?t.sort().join(","):t}function _(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function x(t,e){for(var n=0;n=0&&o.push({data:e.oldData[n],divide:_(e.oldData[n]),dim:t.dimension})})),(0,r.S6)((0,u.kF)(t.to),(function(t){var e=x(n.updatedSeries,t);if(e>=0){var i=n.updatedSeries[e].getData();a.push({data:i,divide:_(i),dim:t.dimension})}})),o.length>0&&a.length>0&&v(o,a,i)}(t,o,n,e)}));else{var s=function(t,e){var n=(0,r.kW)(),i=(0,r.kW)(),o=(0,r.kW)();return(0,r.S6)(t.oldSeries,(function(e,n){var a=t.oldData[n],s=y(e),l=m(s);i.set(l,a),(0,r.kJ)(s)&&(0,r.S6)(s,(function(t){o.set(t,{data:a,key:l})}))})),(0,r.S6)(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),a=y(t),s=m(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{divide:_(l),data:l}],newSeries:[{divide:_(e),data:e}]});else if((0,r.kJ)(a)){var u=[];(0,r.S6)(a,(function(t){var e=i.get(t);e&&u.push({divide:_(e),data:e})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{data:e,divide:_(e)}]})}else{var h=o.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{data:h.data,divide:_(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({data:e,divide:_(e)})}}}})),n}(o,n);(0,r.S6)(s.keys(),(function(t){var n=s.get(t);v(n.oldSeries,n.newSeries,e)}))}(0,r.S6)(n.updatedSeries,(function(t){t[i.V]&&(t[i.V]=!1)}))}for(var l=t.getSeries(),h=o.oldSeries=[],f=o.oldData=[],p=0;pt&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=(0,l.ZL)(s.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(s),h=u},nKtc:function(t,e,n){"use strict";n.d(e,{Z:function(){return j}});var i=n("eRfh"),r=n("vvKg"),o=n("MeQD"),a=n("5MlX"),s=n("lHYj"),l=n("J2q9"),u=n("Uoh4"),h=n("oA72"),c=n("03Q3"),f=n("qNBa"),p=n("xIVD"),d=n("lKVN"),g=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},v=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new g},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=Math.cos(l),f=Math.sin(l),p=Math.cos(u),d=Math.sin(u);(h?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(c*r+n,f*r+i),t.arc(c*s+n,f*s+i,a,-Math.PI+l,l,!h)),t.arc(n,i,o,l,u,!h),t.moveTo(p*o+n,d*o+i),t.arc(p*s+n,d*s+i,a,u-2*Math.PI,u-Math.PI,!h),0!==r&&(t.arc(n,i,r,u,l,h),t.moveTo(c*r+n,d*r+i)),t.closePath()},e}(r.ZP),y=n("TaYd"),m=n("6Ln2"),_=n("+wlq"),x=n("/ciP");function b(t,e,n){return e*Math.sin(t)*(n?-1:1)}function S(t,e,n){return e*Math.cos(t)*(n?1:-1)}var w=[0,0],M=Math.max,T=Math.min;var k=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._incrementalRenderLarge(t,e)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,a=this.group,h=t.getData(),c=this._data,p=t.coordinateSystem,d=p.getBaseAxis();"cartesian2d"===p.type?r=d.isHorizontal():"polar"===p.type&&(r="angle"===d.dim);var g=t.isAnimationEnabled()?t:null,v=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();0;if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,p);v&&this._enableRealtimeSort(v,h,n);var y=t.get("clip",!0)||v,_=function(t,e){var n=t.getArea&&t.getArea();if((0,m.H)(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(p,h);a.removeClipPath();var x=t.get("roundCap",!0),b=t.get("showBackground",!0),S=t.getModel("backgroundStyle"),w=S.get("borderRadius")||0,M=[],T=this._backgroundEls,k=i&&i.isInitSort,A=i&&"changeAxisOrder"===i.type;function P(t){var e=R[p.type](h,t),n=function(t,e,n){return new("polar"===t.type?u.C:l.Z)({shape:V(e,n,t),silent:!0,z2:0})}(p,r,e);return n.useStyle(S.getItemStyle()),"cartesian2d"===p.type&&n.setShape("r",w),M[t]=n,n}h.diff(c).add((function(e){var n=h.getItemModel(e),i=R[p.type](h,e,n);if(b&&P(e),h.hasValue(e)&&O[p.type](i)){var o=!1;y&&(o=I[p.type](_,i));var l=C[p.type](t,h,e,i,r,g,d.model,!1,x);v&&(l.forceLabelAnimation=!0),z(l,h,e,n,i,t,r,"polar"===p.type),k?l.attr({shape:i}):v?D(v,g,l,i,e,r,!1,!1):(0,s.KZ)(l,{shape:i},t,e),h.setItemGraphicEl(e,l),a.add(l),l.ignore=o}})).update((function(e,n){var i=h.getItemModel(e),o=R[p.type](h,e,i);if(b){var l=void 0;0===T.length?l=P(n):((l=T[n]).useStyle(S.getItemStyle()),"cartesian2d"===p.type&&l.setShape("r",w),M[e]=l);var u=R[p.type](h,e),m=V(r,u,p);(0,s.D)(l,{shape:m},g,e)}var L=c.getItemGraphicEl(n);if(h.hasValue(e)&&O[p.type](o)){var Z=!1;if(y&&(Z=I[p.type](_,o))&&a.remove(L),L?(0,s.Zi)(L):L=C[p.type](t,h,e,o,r,g,d.model,!!L,x),v&&(L.forceLabelAnimation=!0),A){var N=L.getTextContent();if(N){var B=(0,f.qA)(N);null!=B.prevValue&&(B.prevValue=B.value)}}A||z(L,h,e,i,o,t,r,"polar"===p.type),k?L.attr({shape:o}):v?D(v,g,L,o,e,r,!0,A):(0,s.D)(L,{shape:o},t,e,null),h.setItemGraphicEl(e,L),L.ignore=Z,a.add(L)}else a.remove(L)})).remove((function(e){var n=c.getItemGraphicEl(e);n&&(0,s.XD)(n,t,e)})).execute();var L=this._backgroundGroup||(this._backgroundGroup=new o.Z);L.removeAll();for(var Z=0;Zo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){(0,s.XD)(e,t,(0,h.A)(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(y.Z),I={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=M(e.x,t.x),s=T(e.x+e.width,r),l=M(e.y,t.y),u=T(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=T(e.r,t.r),o=M(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},C={cartesian2d:function(t,e,n,i,r,o,s,u,h){var c=new l.Z({shape:(0,a.l7)({},i),z2:1});(c.__dataIndex=n,c.name="item",o)&&(c.shape[r?"height":"width"]=0);return c},polar:function(t,e,n,i,r,o,a,l,h){var c=!r&&h?v:u.C,f=new c({shape:i,z2:1});f.name="item";var p=Z(r);if(f.calculateTextPosition=function(t,e){var n=(e=e||{}).isRoundCap;return function(e,i,r){var o=i.position;if(!o||o instanceof Array)return(0,x.wI)(e,i,r);var a=t(o),s=null!=i.distance?i.distance:5,l=this.shape,u=l.cx,h=l.cy,c=l.r,f=l.r0,p=(c+f)/2,d=l.startAngle,g=l.endAngle,v=(d+g)/2,y=n?Math.abs(c-f)/2:0,m=Math.cos,_=Math.sin,w=u+c*m(d),M=h+c*_(d),T="left",k="top";switch(a){case"startArc":w=u+(f-s)*m(v),M=h+(f-s)*_(v),T="center",k="top";break;case"insideStartArc":w=u+(f+s)*m(v),M=h+(f+s)*_(v),T="center",k="bottom";break;case"startAngle":w=u+p*m(d)+b(d,s+y,!1),M=h+p*_(d)+S(d,s+y,!1),T="right",k="middle";break;case"insideStartAngle":w=u+p*m(d)+b(d,-s+y,!1),M=h+p*_(d)+S(d,-s+y,!1),T="left",k="middle";break;case"middle":w=u+p*m(v),M=h+p*_(v),T="center",k="middle";break;case"endArc":w=u+(c+s)*m(v),M=h+(c+s)*_(v),T="center",k="bottom";break;case"insideEndArc":w=u+(c-s)*m(v),M=h+(c-s)*_(v),T="center",k="top";break;case"endAngle":w=u+p*m(g)+b(g,s+y,!0),M=h+p*_(g)+S(g,s+y,!0),T="left",k="middle";break;case"insideEndAngle":w=u+p*m(g)+b(g,-s+y,!0),M=h+p*_(g)+S(g,-s+y,!0),T="right",k="middle";break;default:return(0,x.wI)(e,i,r)}return(e=e||{}).x=w,e.y=M,e.align=T,e.verticalAlign=k,e}}(p,{isRoundCap:c===v}),o){var d=r?"r":"endAngle",g={};f.shape[d]=r?0:i.startAngle,g[d]=i[d],(l?s.D:s.KZ)(f,{shape:g},o)}return f}};function D(t,e,n,i,r,o,a,l){var u,h;o?(h={x:i.x,width:i.width},u={y:i.y,height:i.height}):(h={y:i.y,height:i.height},u={x:i.x,width:i.width}),l||(a?s.D:s.KZ)(n,{shape:u},e,r,null);var c=e?t.baseAxis.model:null;(a?s.D:s.KZ)(n,{shape:h},c,r)}function A(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function Z(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function z(t,e,n,i,r,o,s,l){var u=e.getItemVisual(n,"style");l||t.setShape("r",i.get(["itemStyle","borderRadius"])||0),t.useStyle(u);var h=i.getShallow("cursor");h&&t.attr("cursor",h);var p=l?s?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":s?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=(0,f.k3)(i);(0,f.ni)(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:(0,_.H)(o.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:p});var g=t.getTextContent();if(l&&g){var v=i.get(["label","position"]);t.textConfig.inside="middle"===v||null,function(t,e,n,i){if("number"!==typeof i)if((0,a.kJ)(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,s=o.clockwise?o.startAngle:o.endAngle,l=o.clockwise?o.endAngle:o.startAngle,u=(s+l)/2,h=n(e);switch(h){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=u;break;case"startAngle":case"insideStartAngle":r=s;break;case"endAngle":case"insideEndAngle":r=l;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===h&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}else t.setTextConfig({rotation:i})}(t,"outside"===v?p:v,Z(s),i.get(["label","rotate"]))}(0,f.pe)(g,d,o.getRawValue(n),(function(t){return(0,_.O)(e,t)}));var y=i.getModel(["emphasis"]);(0,c.vF)(t,y.get("focus"),y.get("blurScope")),(0,c.WO)(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",(0,a.S6)(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var N=function(){},B=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new N},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o=c&&v<=f&&(l<=y?h>=l&&h<=y:h>=y&&h<=l))return a[p]}return-1}(this,t.offsetX,t.offsetY);(0,h.A)(this).dataIndex=e>=0?e:null}),30,!1);function V(t,e,n){if((0,m.H)(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var j=k},"hxz/":function(t,e,n){"use strict";if(n.d(e,{N:function(){return l}}),1223==n.j)var i=n("5MlX");if(1223==n.j)var r=n("xT8t");if(1223==n.j)var o=n("C0p3");if(1223==n.j)var a=n("8qPU");if(1223==n.j)var s=n("nKtc");function l(t){t.registerChartView(s.Z),t.registerSeriesModel(a.Z),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,i.WA(r.bK,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,r.kY),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,o.Z)("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}},"2l+r":function(t,e,n){"use strict";var i=n("eRfh"),r=n("slPF"),o=n("/BmR"),a=n("a1Tn"),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.getInitialData=function(t,e){return(0,o.Z)(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=a.Z.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(r.Z);e.Z=1223==n.j?s:null},"57Yy":function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var i=n("eRfh"),r=n("J2q9"),o=n("KSMq"),a=n("03Q3"),s=n("5MlX"),l=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=s.vL();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),f=t.length;h.width=e,h.height=n;for(var p=0;p0){var T=o(y)?s:l;y>0&&(y=y*w+S),_[x++]=T[M],_[x++]=T[M+1],_[x++]=T[M+2],_[x++]=T[M+3]*y*256}else x+=4}return c.putImageData(m,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=s.vL()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),u=n("TaYd"),h=n("6Ln2"),c=n("qNBa");function f(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var p=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):f(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(f(r)?this.render(e,n,i):this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0))},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,o){var s,l,u,f,p=t.coordinateSystem;if((0,h.H)(p,"cartesian2d")){var d=p.getAxis("x"),g=p.getAxis("y");0,s=d.getBandWidth(),l=g.getBandWidth(),u=d.scale.getExtent(),f=g.scale.getExtent()}for(var v=this.group,y=t.getData(),m=t.getModel(["emphasis","itemStyle"]).getItemStyle(),_=t.getModel(["blur","itemStyle"]).getItemStyle(),x=t.getModel(["select","itemStyle"]).getItemStyle(),b=(0,c.k3)(t),S=t.get(["emphasis","focus"]),w=t.get(["emphasis","blurScope"]),M=(0,h.H)(p,"cartesian2d")?[y.mapDimension("x"),y.mapDimension("y"),y.mapDimension("value")]:[y.mapDimension("time"),y.mapDimension("value")],T=n;Tu[1]||Df[1])continue;var A=p.dataToPoint([C,D]);k=new r.Z({shape:{x:Math.floor(Math.round(A[0])-s/2),y:Math.floor(Math.round(A[1])-l/2),width:Math.ceil(s),height:Math.ceil(l)},style:I})}else{if(isNaN(y.get(M[1],T)))continue;k=new r.Z({z2:1,shape:p.dataToRect([y.get(M[0],T)]).contentShape,style:I})}var P=y.getItemModel(T);if(y.hasItemOption){var L=P.getModel("emphasis");m=L.getModel("itemStyle").getItemStyle(),_=P.getModel(["blur","itemStyle"]).getItemStyle(),x=P.getModel(["select","itemStyle"]).getItemStyle(),S=L.get("focus"),w=L.get("blurScope"),b=(0,c.k3)(P)}var O=t.getRawValue(T),R="-";O&&null!=O[2]&&(R=O[2]+""),(0,c.ni)(k,b,{labelFetcher:t,labelDataIndex:T,defaultOpacity:I.opacity,defaultText:R}),k.ensureState("emphasis").style=m,k.ensureState("blur").style=_,k.ensureState("select").style=x,(0,a.vF)(k,S,w),k.incremental=o,o&&(k.states.emphasis.hoverLayer=!0),v.add(k),y.setItemGraphicEl(T,k)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,u=e.getData(),h=this._hmLayer||this._hmLayer||new l;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var c=t.getViewRect().clone(),f=t.getRoamTransform();c.applyTransform(f);var p=Math.max(c.x,0),d=Math.max(c.y,0),g=Math.min(c.width+c.x,i.getWidth()),v=Math.min(c.height+c.y,i.getHeight()),y=g-p,m=v-d,_=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],x=u.mapArray(_,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=p,r[1]-=d,r.push(i),r})),b=n.getExtent(),S="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(b,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=s.UI(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i=0&&i.push(e[a])}return i.join(" ")}},ONsZ:function(t,e,n){"use strict";var i=n("eRfh"),r=n("/BmR"),o=n("slPF"),a=n("Y2yF"),s=n("MeQD"),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.ZT)(e,t),e.prototype.getInitialData=function(t){return(0,r.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.Z,n=(0,a.th)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,l=.8*t.itemHeight,u=(0,a.th)(o,(t.itemWidth-l)/2,(t.itemHeight-l)/2,l,l,t.itemStyle.fill);e.add(u),u.setStyle(t.itemStyle);var h="inherit"===t.iconRotate?r:t.iconRotate||0;return u.rotation=h*Math.PI/180,u.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={zlevel:0,z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0,lineStyle:{width:"bolder"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(o.Z);e.Z=1223==n.j?l:null},rjzH:function(t,e,n){"use strict";n.d(e,{Z:function(){return J}});var i=n("eRfh"),r=n("5MlX"),o=n("MeQD"),a=n("lHYj"),s=n("Y2yF"),l=n("oA72"),u=n("03Q3"),h=n("+wlq"),c=n("qNBa"),f=n("KSMq");function p(t,e){this.parent.drift(t,e)}var d=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.ZT)(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=(0,s.th)(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=p,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,u.fD)(this.childAt(0))},e.prototype.downplay=function(){(0,u.Mh)(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,n),u=o!==this._symbolType,h=r&&r.disableAnimation;if(u){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,l,c)}else{(p=this.childAt(0)).silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};h?p.attr(f):a.D(p,f,s,n),(0,a.Zi)(p)}if(this._updateCommon(t,n,l,i,r),u){var p=this.childAt(0);if(!h){f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,a.KZ(p,f,s,n)}}h&&this.childAt(0).stopAnimation("remove"),this._seriesModel=s},e.prototype._updateCommon=function(t,e,n,i,o){var a,l,p,d,g,v,y,m,_=this.childAt(0),x=t.hostModel;if(i&&(a=i.emphasisItemStyle,l=i.blurItemStyle,p=i.selectItemStyle,d=i.focus,g=i.blurScope,v=i.labelStatesModels,y=i.hoverScale,m=i.cursorStyle),!i||t.hasItemOption){var b=i&&i.itemModel?i.itemModel:t.getItemModel(e),S=b.getModel("emphasis");a=S.getModel("itemStyle").getItemStyle(),p=b.getModel(["select","itemStyle"]).getItemStyle(),l=b.getModel(["blur","itemStyle"]).getItemStyle(),d=S.get("focus"),g=S.get("blurScope"),v=(0,c.k3)(b),y=S.getShallow("scale"),m=b.getShallow("cursor")}var w=t.getItemVisual(e,"symbolRotate");_.attr("rotation",(w||0)*Math.PI/180||0);var M=(0,s.Cq)(t.getItemVisual(e,"symbolOffset"),n);M&&(_.x=M[0],_.y=M[1]),m&&_.attr("cursor",m);var T=t.getItemVisual(e,"style"),k=T.fill;if(_ instanceof f.ZP){var I=_.style;_.useStyle((0,r.l7)({image:I.image,x:I.x,y:I.y,width:I.width,height:I.height},T))}else _.__isEmptyBrush?_.useStyle((0,r.l7)({},T)):_.useStyle(T),_.style.decal=null,_.setColor(k,o&&o.symbolInnerColor),_.style.strokeNoScale=!0;var C=t.getItemVisual(e,"liftZ"),D=this._z2;null!=C?null==D&&(this._z2=_.z2,_.z2+=C):null!=D&&(_.z2=D,this._z2=null);var A=o&&o.useNameLabel;(0,c.ni)(_,v,{labelFetcher:x,labelDataIndex:e,defaultText:function(e){return A?t.getName(e):(0,h.H)(t,e)},inheritColor:k,defaultOpacity:T.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var P=_.ensureState("emphasis");if(P.style=a,_.ensureState("select").style=p,_.ensureState("blur").style=l,y){var L=Math.max(1.1,3/this._sizeY);P.scaleX=this._sizeX*L,P.scaleY=this._sizeY*L}this.setSymbolScale(1),(0,u.vF)(this,d,g)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e){var n=this.childAt(0),i=this._seriesModel,r=(0,l.A)(this).dataIndex,o=e&&e.animation;if(this.silent=n.silent=!0,e&&e.fadeLabel){var s=n.getTextContent();s&&a.bX(s,{style:{opacity:0}},i,{dataIndex:r,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();a.bX(n,{style:{opacity:0},scaleX:0,scaleY:0},i,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,s.zp)(t.getItemVisual(e,"symbolSize"))},e}(o.Z);function g(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function v(t){return null==t||(0,r.Kn)(t)||(t={isIgnore:t}),t||{}}function y(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),hoverScale:n.get("scale"),labelStatesModels:(0,c.k3)(e),cursorStyle:e.get("cursor")}}var m=function(){function t(t){this.group=new o.Z,this._SymbolCtor=t||d}return t.prototype.updateData=function(t,e){e=v(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=y(t),u={disableAnimation:s},h=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=h(i);if(g(t,r,i,e)){var a=new o(t,i,l,u);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(c,f){var p=r.getItemGraphicEl(f),d=h(c);if(g(t,d,c,e)){var v=t.getItemVisual(c,"symbol")||"circle",y=p&&p.getSymbolType&&p.getSymbolType();if(!p||y&&y!==v)n.remove(p),(p=new o(t,c,l,u)).setPosition(d);else{p.updateData(t,c,l,u);var m={x:d[0],y:d[1]};s?p.attr(m):a.D(p,m,i)}n.add(p),t.setItemGraphicEl(c,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._getSymbolPoint=h,this._data=t},t.prototype.isPersistent=function(){return!0},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=y(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}n=v(n);for(var r=t.start;r=r||g<0)break;if(D(y,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](y,m),c=y,f=m;else{var _=y-u,x=m-h;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,S=e[2*b],w=e[2*b+1];S===y&&w===m&&v=i||D(S,w))p=y,d=m;else{k=S-u,A=w-h;var O=y-u,R=S-y,Z=m-h,z=w-m,N=void 0,B=void 0;"x"===s?(N=Math.abs(O),B=Math.abs(R),p=y-N*a,d=m,P=y+N*a,L=m):"y"===s?(N=Math.abs(Z),B=Math.abs(z),p=y,d=m-N*a,P=y,L=m+N*a):(N=Math.sqrt(O*O+Z*Z),p=y-k*a*(1-(T=(B=Math.sqrt(R*R+z*z))/(B+N))),d=m-A*a*(1-T),L=m+A*a*T,P=I(P=y+k*a*T,C(S,y)),L=I(L,C(w,m)),P=C(P,I(S,y)),d=m-(A=(L=C(L,I(w,m)))-m)*N/B,p=I(p=y-(k=P-y)*N/B,C(u,y)),d=I(d,C(h,m)),P=y+(k=y-(p=C(p,I(u,y))))*B/N,L=m+(A=m-(d=C(d,I(h,m))))*B/N)}t.bezierCurveTo(c,f,p,d,y,m),c=P,f=L}else t.lineTo(y,m)}u=y,h=m,g+=o}return v}var P=function(){this.smooth=0,this.smoothConstraint=!0},L=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new P},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&D(n[2*r-2],n[2*r-1]);r--);for(;i=0){var v=a?(h-i)*g+i:(u-n)*g+n;return a?[t,v]:[v,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],f=r[l++],p=r[l++],d=r[l++];var y=a?(0,k.kD)(n,u,c,p,t,s):(0,k.kD)(i,h,f,d,t,s);if(y>0)for(var m=0;m=0){v=a?(0,k.af)(i,h,f,d,_):(0,k.af)(n,u,c,p,_);return a?[t,v]:[v,t]}}n=p,i=d}}},e}(M.ZP),O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(P),R=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new O},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&D(n[2*o-2],n[2*o-1]);o--);for(;r=0;s--){var l=t.getDimensionInfo(i[s].dimension);if("x"===(o=l&&l.coordDim)||"y"===o){a=i[s];break}}if(a){var u=e.getAxis(o),h=r.UI(a.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),c=h.length,f=a.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),f.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,F.t7)(r,[t.color,e.color])}}for(var s=0;se){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(h,"x"===o?n.getWidth():n.getHeight()),d=p.length;if(!d&&c)return h[0].coord<0?f[1]?f[1]:h[c-1].color:f[0]?f[0]:h[0].color;var g=p[0].coord-10,v=p[d-1].coord+10,y=v-g;if(y<.001)return"transparent";r.S6(p,(function(t){t.offset=(t.coord-g)/y})),p.push({offset:d?p[d-1].offset:.5,color:f[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:f[0]||"transparent"});var m=new b.Z(0,0,0,0,p,!0);return m[o]=g,m[o+"2"]=v,m}}}function W(t,e,n){var i=t.get("showAllSymbol"),o="auto"===i;if(!i||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}(a,e))){var s=e.mapDimension(a.dim),l={};return r.S6(a.getViewLabels(),(function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function U(t,e){return[t[2*e],t[2*e+1]]}function Y(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(y.getState("emphasis").style.lineWidth=+y.style.lineWidth+1);(0,l.A)(y).seriesIndex=t.seriesIndex,(0,u.vF)(y,Z,z);var N=H(t.get("smooth")),F=t.get("smoothMonotone"),V=t.get("connectNulls");if(y.setShape({smooth:N,smoothMonotone:F,connectNulls:V}),m){var j=h.getCalculationInfo("stackedOnSeries"),U=0;m.useStyle(r.ce(f.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:h.getVisual("style").decal})),j&&(U=H(j.get("smooth"))),m.setShape({smooth:N,stackedOnSmooth:U,smoothMonotone:F,connectNulls:V}),(0,u.WO)(m,t,"areaStyle"),(0,l.A)(m).seriesIndex=t.seriesIndex,(0,u.vF)(m,Z,z)}var Y=function(t){i._changePolyState(t)};h.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=Y)})),this._polyline.onHoverStateChange=Y,this._data=h,this._coordSys=o,this._stackedOnPoints=k,this._points=p,this._step=P,this._valueOrigin=M,t.get("triggerLineEvent")&&(this.packEventData(t,y),m&&this.packEventData(t,m))},e.prototype.packEventData=function(t,e){(0,l.A)(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=w.gO(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel"),c=t.get("z");(s=new d(r,o)).x=l,s.y=u,s.setZ(h,c);var f=s.getSymbolPath().getTextContent();f&&(f.zlevel=h,f.z=c,f.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Z.Z.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=w.gO(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Z.Z.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,u.Gl)(this._polyline,t),e&&(0,u.Gl)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new L({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new R({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");"function"===typeof l&&(l=l(null));var u=s.get("animationDelay")||0,h="function"===typeof u?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],f=void 0,p=void 0,d=void 0;if(n)if(r){var g=n,v=e.pointToCoord(c);i?(f=g.startAngle,p=g.endAngle,d=-v[1]/180*Math.PI):(f=g.r0,p=g.r,d=v[0])}else{var y=n;i?(f=y.x,p=y.x+y.width,d=t.x):(f=y.y+y.height,p=y.y,d=t.y)}var m=p===f?0:(d-f)/(p-f);a&&(m=1-m);var _="function"===typeof u?u(o):l*m+h,x=s.getSymbolPath(),b=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Y(t)){var r=t.getData(),o=this._polyline,a=this._endLabel;a||((a=this._endLabel=new S.ZP({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var s=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(r.getLayout("points"));s>=0&&((0,c.ni)(o,(0,c.k3)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:s,defaultText:function(t,e,n){return null!=n?(0,h.O)(r,n):(0,h.H)(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,f=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,g=a.getBaseAxis(),v=g.isHorizontal(),y=g.inverse,m=e.shape,_=y?v?m.x:m.y+m.height:v?m.x+m.width:m.y,x=(v?d:0)*(y?-1:1),b=(v?0:-d)*(y?-1:1),S=v?"x":"y",M=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,_,S),T=M.range,k=T[1]-T[0],I=void 0;if(k>=1){if(k>1&&!f){var C=U(u,T[0]);s.attr({x:C[0]+x,y:C[1]+b}),r&&(I=h.getRawValue(T[0]))}else{(C=l.getPointOn(_,S))&&s.attr({x:C[0]+x,y:C[1]+b});var D=h.getRawValue(T[0]),A=h.getRawValue(T[1]);r&&(I=w.pk(n,p,D,A,M.t))}i.lastFrameIndex=T[0]}else{var P=1===t||i.lastFrameIndex>0?T[0]:0;C=U(u,P);r&&(I=h.getRawValue(P)),s.attr({x:C[0]+x,y:C[1]+b})}r&&(0,c.qA)(s).setLabelText(I)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],f=[],p=[],d=[],g=[],v=(0,_.s)(r,e,a),y=t.getLayout("points")||[],m=e.getLayout("points")||[],b=0;b3e3||l&&j(f,d)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:d})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:p}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),a.D(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:f}),l.stopAnimation(),a.D(l,{shape:{stackedOnPoints:d}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],y=h.status,m=0;m0?n=i[0]:i[1]<0&&(n=i[1]);return n}(a,n),l=o.dim,u=a.dim,h=e.mapDimension(u),c=e.mapDimension(l),f="x"===u||"radius"===u?1:0,p=(0,r.UI)(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,g=e.getCalculationInfo("stackResultDimension");return(0,i.M)(e,p[0])&&(d=!0,p[0]=g),(0,i.M)(e,p[1])&&(d=!0,p[1]=g),{dataDimsForPoint:p,valueStart:s,valueAxisDim:u,baseAxisDim:l,stacked:!!d,valueDim:h,baseDim:c,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function a(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}},NNWq:function(t,e,n){"use strict";if(n.d(e,{N:function(){return s}}),1223==n.j)var i=n("ONsZ");if(1223==n.j)var r=n("rjzH");if(1223==n.j)var o=n("hSLL");if(1223==n.j)var a=n("C0p3");function s(t){t.registerChartView(r.Z),t.registerSeriesModel(i.Z),t.registerLayout((0,o.Z)("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,a.Z)("line"))}},jEKM:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=n("eRfh"),r=n("pOW2"),o=n("aaDX"),a=n("5MlX");var s=n("NGbn"),l=n("OO99"),u=n("244e"),h=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new h(a.ak(this.getData,this),a.ak(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return function(t,e,n){e=(0,a.kJ)(e)&&{coordDimensions:e}||(0,a.l7)({encodeDefine:t.getEncode()},e);var i=t.getSource(),s=(0,r.Z)(i,e).dimensions,l=new o.Z(s,t);return l.initData(i,n),l}(this,{coordDimensions:["value"],encodeDefaulter:a.WA(u.Ss,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=[];return n.each(n.mapDimension("value"),(function(t){r.push(t)})),i.percent=(0,l.eJ)(r,e,n.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},e.prototype._defaultLabelLine=function(t){s.Cc(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={zlevel:0,z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(n("slPF").Z),f=c},uhF2:function(t,e,n){"use strict";n.d(e,{Z:function(){return k}});var i=n("eRfh"),r=n("5MlX"),o=n("MN9j"),a=n("lHYj"),s=n("KvR3"),l=n("Uoh4"),u=n("MeQD"),h=n("03Q3"),c=n("TaYd"),f=n("OO99"),p=n("PBFU"),d=n("TMgx"),g=n("dTtd"),v=Math.PI/180;function y(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var h=t.length,c=0;cn?a:o,h=Math.abs(l.label.y-n);if(h>u.maxY){var c=l.label.x-e-l.len2*r,f=i+l.len,d=Math.abs(c)0?"right":"left":O>0?"left":"right"}var j=m.get("rotate");if("number"===typeof j)Z=j*(Math.PI/180);else if("center"===_)Z=0;else{var H=O<0?-L+Math.PI:-L;"radial"===j||!0===j?Z=H:"tangential"===j&&"outside"!==_&&"outer"!==_?(Z=H+Math.PI/2)>Math.PI/2&&(Z-=Math.PI):Z=0}if(a=!!Z,g.x=C,g.y=D,g.rotation=Z,g.setStyle({verticalAlign:"middle"}),z){g.setStyle({align:P});var G=g.states.select;G&&(G.x+=g.x,G.y+=g.y)}else{var X=g.getBoundingRect().clone();X.applyTransform(g.getComputedTransform());var W=(g.style.margin||0)+2.1;X.y-=W/2,X.height+=W,o.push({label:g,labelLine:v,position:_,len:k,len2:I,minTurnAngle:T.get("minTurnAngle"),maxSurfaceAngle:T.get("maxSurfaceAngle"),surfaceNormal:new p.Z(O,R),linePoints:A,textAlign:P,labelDistance:b,labelAlignTo:S,edgeDistance:w,bleedMargin:M,rect:X})}l.setTextConfig({inside:z})}})),!a&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,f=0;f0){for(var h=o.getItemLayout(0),c=1;isNaN(h&&h.startAngle)&&c=n.r0}},e.type="pie",e}(c.Z),k=T},"ls/D":function(t,e,n){"use strict";if(n.d(e,{N:function(){return h}}),1223==n.j)var i=n("O/XY");if(1223==n.j)var r=n("RAJ6");if(1223==n.j)var o=n("qy5W");if(1223==n.j)var a=n("5MlX");if(1223==n.j)var s=n("uhF2");if(1223==n.j)var l=n("jEKM");if(1223==n.j)var u=n("oX5k");function h(t){t.registerChartView(s.Z),t.registerSeriesModel(l.Z),(0,i.y)("pie",t.registerAction),t.registerLayout((0,a.WA)(r.Z,"pie")),t.registerProcessor((0,o.Z)("pie")),t.registerProcessor((0,u.Z)("pie"))}},RAJ6:function(t,e,n){"use strict";if(n.d(e,{O:function(){return u},Z:function(){return h}}),1223==n.j)var i=n("OO99");if(1223==n.j)var r=n("IBYA");if(1223==n.j)var o=n("5MlX");var a=2*Math.PI,s=Math.PI/180;function l(t,e){return r.ME(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t,e){var n=l(t,e),r=t.get("center"),a=t.get("radius");o.kJ(a)||(a=[0,a]),o.kJ(r)||(r=[r,r]);var s=(0,i.GM)(n.width,e.getWidth()),u=(0,i.GM)(n.height,e.getHeight()),h=Math.min(s,u);return{cx:(0,i.GM)(r[0],s)+n.x,cy:(0,i.GM)(r[1],u)+n.y,r0:(0,i.GM)(a[0],h/2),r:(0,i.GM)(a[1],h/2)}}function h(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),o=l(t,n),h=u(t,n),c=h.cx,f=h.cy,p=h.r,d=h.r0,g=-t.get("startAngle")*s,v=t.get("minAngle")*s,y=0;e.each(r,(function(t){!isNaN(t)&&y++}));var m=e.getSum(r),_=Math.PI/(m||y)*2,x=t.get("clockwise"),b=t.get("roseType"),S=t.get("stillShowZeroSum"),w=e.getDataExtent(r);w[0]=0;var M=a,T=0,k=g,I=x?1:-1;if(e.setLayout({viewRect:o,r:p}),e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:x,cx:c,cy:f,r0:d,r:b?NaN:p});else{(r="area"!==b?0===m&&S?_:t*_:a/y)0?"top":"bottom",i="center"):(0,c.mW)(o-y)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,n,r){var a=e.get(["axisLine","show"]);if("auto"===a&&t.handleAutoShown&&(a=t.handleAutoShown("axisLine")),a){var s=e.axis.getExtent(),l=r.transform,u=[s[0],0],h=[s[1],0];l&&((0,d.Ne)(u,u,l),(0,d.Ne)(h,h,l));var c=(0,i.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),p=new o.Z({subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});p.anid="line",n.add(p);var g=e.get(["axisLine","symbol"]);if(null!=g){var v=e.get(["axisLine","symbolSize"]);"string"===typeof g&&(g=[g,g]),"string"!==typeof v&&"number"!==typeof v||(v=[v,v]);var y=(0,f.Cq)(e.get(["axisLine","symbolOffset"])||0,v),m=v[0],_=v[1];(0,i.S6)([{rotate:t.rotation+Math.PI/2,offset:y[0],r:0},{rotate:t.rotation-Math.PI/2,offset:y[1],r:Math.sqrt((u[0]-h[0])*(u[0]-h[0])+(u[1]-h[1])*(u[1]-h[1]))}],(function(e,i){if("none"!==g[i]&&null!=g[i]){var r=(0,f.th)(g[i],-m/2,-_/2,m,_,c.stroke,!0),o=e.r+e.offset;r.attr({rotation:e.rotate,x:u[0]+o*Math.cos(t.rotation),y:u[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,r){var o=function(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");"auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick"));if(!s||o.scale.isBlank())return;for(var l=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),h=w(o.getTicksCoords(),e.transform,u,(0,i.ce)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c_[1]?-1:1,b=["start"===p?_[0]-x*v:"end"===p?_[1]+x*v:(_[0]+_[1])/2,S(p)?t.labelOffset+d*v:0],w=e.get("nameRotate");null!=w&&(w=w*y/180),S(p)?h=m.innerTextLayout(t.rotation,null!=w?w:t.rotation,d):(h=function(t,e,n,i){var r,o,a=(0,c.wW)(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;(0,c.mW)(a-y/2)?(o=l?"bottom":"top",r="center"):(0,c.mW)(a-1.5*y)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*y&&a>y/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,p,w||0,_),null!=(f=t.axisNameAvailableWidth)&&(f=Math.abs(f/Math.sin(h.rotation)),!isFinite(f)&&(f=null)));var M=g.getFont(),T=e.get("nameTruncate",!0)||{},k=T.ellipsis,I=(0,i.Jv)(t.nameTruncateMaxWidth,T.maxWidth,f),C=new a.ZP({x:b[0],y:b[1],rotation:h.rotation,silent:m.isLabelSilent(e),style:(0,u.Lr)(g,{text:o,font:M,overflow:"truncate",width:I,ellipsis:k,fill:g.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:g.get("align")||h.textAlign,verticalAlign:g.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(s.setTooltipConfig({el:C,componentModel:e,itemName:o}),C.__fullText=o,C.anid="name",e.get("triggerEvent")){var D=m.makeAxisEventDataBase(e);D.targetType="axisName",D.name=o,(0,l.A)(C).eventData=D}r.add(C),C.updateTransform(),n.add(C),C.decomposeTransform()}}};function x(t){t&&(t.ignore=!0)}function b(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=p.yR([]);return p.U1(r,r,-t.rotation),n.applyTransform(p.dC([],r,t.getLocalTransform())),i.applyTransform(p.dC([],r,e.getLocalTransform())),n.intersect(i)}}function S(t){return"middle"===t||"center"===t}function w(t,e,n,i,r){for(var a=[],s=[],l=[],u=0;u=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){r.E("axisPointer",e)},e.prototype.dispose=function(t,e){r.E("axisPointer",e)},e.type="axisPointer",e}(n("CGQi").Z);e.Z=1223==n.j?o:null},MCRc:function(t,e,n){"use strict";n.d(e,{Z:function(){return C}});var i=n("eRfh"),r=n("5MlX"),o=n("eGeF"),a=n("MeQD"),s=n("MN9j"),l=n("lHYj"),u=n("kJ6a"),h=n("hwCi"),c=n("xIVD"),f=(0,n("NGbn").Yf)(),p=r.d9,d=r.ak,g=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var h={};this.makeElOption(h,o,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=r.WA(v,e,f);this.updatePointerEl(l,h,p),this.updateLabelEl(l,h,p,e)}else l=this._group=new a.Z,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=u.r(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var a=f(t).pointerEl=new o[r.type](p(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=f(t).labelEl=new s.ZP(p(e.label));t.add(r),m(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=f(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=f(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),m(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,s=n.getModel("handle"),l=n.get("status");if(!s.get("show")||!l||"hide"===l)return a&&i.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=o.createIcon(s.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){h.sT(t.event)},onmousedown:d(this._onHandleDragMove,this,0,0),drift:d(this._onHandleDragMove,this),ondragend:d(this._onHandleDragEnd,this)}),i.add(a)),x(a,n,!1),a.setStyle(s.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=s.get("size");r.kJ(u)||(u=[u,u]),a.scaleX=u[0]/2,a.scaleY=u[1]/2,c.T9(this,"_doDispatchAxisPointer",s.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){v(this._axisPointerModel,!e&&this._moveAnimation,this._handle,_(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(_(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(_(i)),f(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function v(t,e,n,i){y(f(n).lastProp,i)||(f(n).lastProp=i,e?l.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function y(t,e){if(r.Kn(t)&&r.Kn(e)){var n=!0;return r.S6(e,(function(e,i){n=n&&y(t[i],e)})),!!n}return t===e}function m(t,e){t[e.get(["label","show"])?"show":"hide"]()}function _(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function x(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var b=g,S=n("SBpt"),w=n("ThWk"),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=T(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=S.fk(i),c=k[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var f=w.bK(a.model,n);S.gf(e,t,f,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=w.bK(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=S.Zh(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=T(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(b);function T(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var k={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:S.BL([e,n[0]],[e,n[1]],I(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:S.uE([e-i/2,n[0]],[i,r],I(t))}}};function I(t){return"x"===t.dim?0:1}var C=M},GV55:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n("NGbn");if(1223==n.j)var r=n("kJ6a");if(1223==n.j)var o=n("ki5Z");if(1223==n.j)var a=n("5MlX");var s=(0,i.Yf)();function l(t,e,n){var i=t.currTrigger,r=[t.x,t.y],l=t,d=t.dispatchAction||(0,a.ak)(n.dispatchAction,n),g=e.getComponent("axisPointer").coordSysAxesInfo;if(g){p(r)&&(r=(0,o.Z)({seriesIndex:l.seriesIndex,dataIndex:l.dataIndex},e).point);var v=p(r),y=l.axesInfo,m=g.axesInfo,_="leave"===i||p(r),x={},b={},S={list:[],map:{}},w={showPointer:(0,a.WA)(h,b),showTooltip:(0,a.WA)(c,S)};(0,a.S6)(g.coordSysMap,(function(t,e){var n=v||t.containPoint(r);(0,a.S6)(g.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(y,t);if(!_&&n&&(!y||o)){var a=o&&o.value;null!=a||v||(a=i.pointToData(r)),null!=a&&u(t,a,w,!1,x)}}))}));var M={};return(0,a.S6)(m,(function(t,e){var n=t.linkGroup;n&&!b[e]&&(0,a.S6)(n.axesInfo,(function(e,i){var r=b[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,f(e),f(t)))),M[t.key]=o}}))})),(0,a.S6)(M,(function(t,e){u(m[e],t,w,!0,x)})),function(t,e,n){var i=n.axesInfo=[];(0,a.S6)(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(b,m,x),function(t,e,n,i){if(p(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(S,r,t,d),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=s(i)[r]||{},l=s(i)[r]={};(0,a.S6)(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&(0,a.S6)(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;l[e]=t}))}));var u=[],h=[];(0,a.S6)(o,(function(t,e){!l[e]&&h.push(t)})),(0,a.S6)(l,(function(t,e){!o[e]&&u.push(t)})),h.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:h}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:u})}(m,0,n),x}}function u(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],s=Number.MAX_VALUE,l=-1;return(0,a.S6)(e.seriesModels,(function(e,u){var h,c,f=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(f,t,n);c=p.dataIndices,h=p.nestestValue}else{if(!(c=e.getData().indicesOfNearest(f[0],t,"category"===n.type?.5:null)).length)return;h=e.getData().get(f[0],c[0])}if(null!=h&&isFinite(h)){var d=t-h,g=Math.abs(d);g<=s&&((g=0&&l<0)&&(s=g,l=d,r=h,o.length=0),(0,a.S6)(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==r.seriesIndex&&(0,a.l7)(r,l[0]),!i&&t.snap&&o.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,l),n.showTooltip(t,s,u)}else n.showPointer(t,e)}function h(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function c(t,e,n,i){var o=n.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&o.length){var u=e.coordSys.model,h=r.zm(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:o.slice()})}}function f(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}},ki5Z:function(t,e,n){"use strict";if(n.d(e,{Z:function(){return o}}),1223==n.j)var i=n("5MlX");if(1223==n.j)var r=n("NGbn");function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.gO(s,t);if(null==l||l<0||i.kJ(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)if(t.isStacked){var c=h.getBaseAxis(),f=h.getOtherAxis(c).dim,p=c.dim,d="x"===f||"radius"===f?1:0,g=s.mapDimension(p),v=[];v[d]=s.get(g,l),v[1-d]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(v)||[]}else o=h.dataToPoint(s.getValues(i.UI(h.dimensions,(function(t){return s.mapDimension(t)})),l))||[];else if(u){var y=u.getBoundingRect().clone();y.applyTransform(u.transform),o=[y.x+y.width/2,y.y+y.height/2]}return{point:o,el:u}}},wMTd:function(t,e,n){"use strict";n.d(e,{z:function(){return s},E:function(){return h}});var i=n("5MlX");if(1223==n.j)var r=n("/iMr");var o=(0,n("NGbn").Yf)(),a=i.S6;function s(t,e,n){if(!r.Z.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){if(o(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);a(o(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}o(t).initialized=!0,n("click",i.WA(u,"click")),n("mousemove",i.WA(u,"mousemove")),n("globalout",l)}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function h(t,e){if(!r.Z.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},qwgN:function(t,e,n){"use strict";if(n.d(e,{N:function(){return h}}),1223==n.j)var i=n("jUBB");if(1223==n.j)var r=n("MCRc");if(1223==n.j)var o=n("eSnj");if(1223==n.j)var a=n("QiyQ");if(1223==n.j)var s=n("5MlX");if(1223==n.j)var l=n("kJ6a");if(1223==n.j)var u=n("GV55");function h(t){i.Z.registerAxisPointerClass("CartesianAxisPointer",r.Z),t.registerComponentModel(o.Z),t.registerComponentView(a.Z),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,s.kJ)(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,l.KM)(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},u.Z)}},kJ6a:function(t,e,n){"use strict";if(n.d(e,{KM:function(){return o},iG:function(){return s},r:function(){return l},np:function(){return u},zm:function(){return c}}),1223==n.j)var i=n("hY/y");if(1223==n.j)var r=n("5MlX");function o(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var o=e.getComponent("tooltip"),s=e.getComponent("axisPointer"),l=s.get("link",!0)||[],u=[];(0,r.S6)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var f=c(n.model),p=t.coordSysAxesInfo[f]={};t.coordSysMap[f]=n;var d=n.model.getModel("tooltip",o);if((0,r.S6)(n.getAxes(),(0,r.WA)(m,!1,null)),n.getTooltipAxes&&o&&d.get("show")){var g="axis"===d.get("trigger"),v="cross"===d.get(["axisPointer","type"]),y=n.getTooltipAxes(d.get(["axisPointer","axis"]));(g||v)&&(0,r.S6)(y.baseAxes,(0,r.WA)(m,!v||"cross",g)),v&&(0,r.S6)(y.otherAxes,(0,r.WA)(m,"cross",!1))}}function m(o,f,g){var v=g.model.getModel("axisPointer",s),y=v.get("show");if(y&&("auto"!==y||o||h(v))){null==f&&(f=v.get("triggerTooltip")),v=o?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],h={};(0,r.S6)(u,(function(t){h[t]=(0,r.d9)(l.get(t))})),h.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===a){var f=l.get(["label","show"]);if(c.show=null==f||f,!s){var p=h.lineStyle=l.get("crossStyle");p&&(0,r.ce)(c,p.textStyle)}}return t.model.getModel("axisPointer",new i.Z(h,n,o))}(g,d,s,e,o,f):v;var m=v.get("snap"),_=c(g.model),x=f||m||"category"===g.type,b=t.axesInfo[_]={key:_,axis:g,coordSys:n,axisPointerModel:v,triggerTooltip:f,involveSeries:x,snap:m,useHandle:h(v),seriesModels:[],linkGroup:null};p[_]=b,t.seriesInvolved=t.seriesInvolved||x;var S=function(t,e){for(var n=e.model,i=e.dim,r=0;r=0||t===e}function s(t){var e=l(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=h(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(s.Z);e.Z=1223==n.j?l:null},"7eVC":function(t,e,n){"use strict";n.d(e,{Z:function(){return M}});var i=n("eRfh"),r=n("5MlX"),o=n("eFAM"),a=n("eGeF"),s=n("MeQD"),l=n("MN9j"),u=n("J2q9"),h=n("03Q3"),c=n("qNBa"),f=n("az88");var p=n("IBYA"),d=n("CGQi"),g=n("Y2yF"),v=r.WA,y=r.S6,m=s.Z,_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,i.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new m),this.group.add(this._selectorGroup=new m),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var o=t.get("align"),a=t.get("orient");o&&"auto"!==o||(o="right"===t.get("left")&&"vertical"===a?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(o,t,e,n,s,a,l);var h=t.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},d=t.get("padding"),g=p.ME(h,c,d),v=this.layoutInner(t,o,g,i,s,l),y=p.ME(r.ce({width:v.width,height:v.height},h),c,d);this.group.x=y.x-v.x,this.group.y=y.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=function(t,e){var n=f.MY(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),new u.Z({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}(v,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,a,s,l){var u=this.getContentGroup(),h=r.kW(),c=e.get("selectedMode"),f=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&f.push(t.id)})),y(e.getData(),(function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var l=new m;return l.newline=!0,void u.add(l)}var p=n.getSeriesByName(s)[0];if(!h.get(s)){if(p){var d=p.getData(),g=d.getVisual("legendLineStyle")||{},y=d.getVisual("legendIcon"),_=d.getVisual("style");this._createItem(p,s,a,r,e,t,g,_,y,c).on("click",v(x,s,null,i,f)).on("mouseover",v(S,p.name,null,i,f)).on("mouseout",v(w,p.name,null,i,f)),h.set(s,!0)}else n.eachRawSeries((function(n){if(!h.get(s)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(s))return;var u=l.indexOfName(s),p=l.getItemVisual(u,"style"),d=l.getItemVisual(u,"legendIcon"),g=(0,o.Qc)(p.fill);g&&0===g[3]&&(g[3]=.2,p.fill=(0,o.Pz)(g,"rgba")),this._createItem(n,s,a,r,e,t,{},p,d,c).on("click",v(x,null,s,i,f)).on("mouseover",v(S,null,s,i,f)).on("mouseout",v(w,null,s,i,f)),h.set(s,!0)}}),this);0}}),this),a&&this._createSelector(a,e,i,s,l)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();y(t,(function(t){var i=t.type,r=new l.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,c.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,h.vF)(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,s,f,p,d){var v=t.visualDrawType,_=r.get("itemWidth"),x=r.get("itemHeight"),b=r.isSelected(e),S=i.get("symbolRotate"),w=i.get("symbolKeepAspect"),M=i.get("icon"),T=function(t,e,n,i,r,o){function a(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),y(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var s=e.getModel("itemStyle").getItemStyle(),l=0===t.lastIndexOf("empty",0)?"fill":"stroke";s.decal=i.decal,"inherit"===s.fill&&(s.fill=i[r]);"inherit"===s.stroke&&(s.stroke=i[l]);"inherit"===s.opacity&&(s.opacity=("fill"===r?i:n).opacity);a(s,i);var u=e.getModel("lineStyle"),h=u.getLineStyle();if(a(h,n),"auto"===s.fill&&(s.fill=i.fill),"auto"===s.stroke&&(s.stroke=i.fill),"auto"===h.stroke&&(h.stroke=i.fill),!o){var c=e.get("inactiveBorderWidth"),f=s[l];s.lineWidth="auto"===c?i.lineWidth>0&&f?2:0:s.lineWidth,s.fill=e.get("inactiveColor"),s.stroke=e.get("inactiveBorderColor"),h.stroke=u.get("inactiveColor"),h.lineWidth=u.get("inactiveWidth")}return{itemStyle:s,lineStyle:h}}(p=M||p||"roundRect",i,s,f,v,b),k=new m,I=i.getModel("textStyle");if("function"!==typeof t.getLegendIcon||M&&"inherit"!==M){var C="inherit"===M&&t.getData().getVisual("symbol")?"inherit"===S?t.getData().getVisual("symbolRotate"):S:0;k.add(function(t){var e=t.icon||"roundRect",n=(0,g.th)(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:_,itemHeight:x,icon:p,iconRotate:C,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:w}))}else k.add(t.getLegendIcon({itemWidth:_,itemHeight:x,icon:p,iconRotate:S,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:w}));var D="left"===o?_+5:-5,A=o,P=r.get("formatter"),L=e;"string"===typeof P&&P?L=P.replace("{name}",null!=e?e:""):"function"===typeof P&&(L=P(e));var O=i.get("inactiveColor");k.add(new l.ZP({style:(0,c.Lr)(I,{text:L,x:D,y:x/2,fill:b?I.getTextColor():O,align:A,verticalAlign:"middle"})}));var R=new u.Z({shape:k.getBoundingRect(),invisible:!0}),Z=i.getModel("tooltip");return Z.get("show")&&a.setTooltipConfig({el:R,componentModel:r,itemName:e,itemTooltipOption:Z.option}),k.add(R),k.eachChild((function(t){t.silent=!0})),R.silent=!d,this.getContentGroup().add(k),(0,h.vF)(k),k.__legendDataIndex=n,k},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();p.BZ(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){p.BZ("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],f=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=0===d?"width":"height",v=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[g]+f:u[d]+=h[g]+f,c[1-d]+=l[v]/2-h[v]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[g]=l[g]+f+h[g],m[v]=Math.max(l[v],h[v]),m[y]=Math.min(0,h[y]+c[1-d]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(d.Z);function x(t,e,n,i){w(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),S(t,e,n,i)}function b(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;in[o],m=[-g.x,-g.y];e||(m[i]=f[c]);var _=[0,0],x=[-v.x,-v.y],b=r.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));y&&("end"===t.get("pageButtonPosition",!0)?x[i]+=n[o]-v[o]:_[i]+=v[o]+b);x[1-i]+=g[a]/2-v[a]/2,f.setPosition(m),p.setPosition(_),d.setPosition(x);var S={x:0,y:0};if(S[o]=y?n[o]:g[o],S[a]=Math.max(g[a],v[a]),S[s]=Math.min(0,v[s]+x[1-i]),p.__rectSize=n[o],y){var w={x:0,y:0};w[o]=Math.max(n[o]-v[o]-b,0),w[a]=S[a],p.setClipPath(new l.Z({shape:w})),p.__rectSize=w[o]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var M=this._getPageInfo(t);return null!=M.pageIndex&&u.D(f,{x:M.contentPosition[0],y:M.contentPosition[1]},y?t:null),this._updatePageInfoView(t,M),S},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;r.S6(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),o=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&o&&i.setStyle("text",r.HD(o)?o.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):o({current:s,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=p[r],a=d[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,f={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return f;var g=x(u);f.contentPosition[r]=-g.s;for(var v=s+1,y=g,m=g,_=null;v<=h;++v)(!(_=x(l[v]))&&m.e>y.s+i||_&&!b(_,y.s))&&(y=m.i>y.i?m:_)&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=y.i),++f.pageCount),m=_;for(v=s-1,y=g,m=g,_=null;v>=-1;--v)(_=x(l[v]))&&b(m,_.s)||!(y.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(c.Z);e.Z=1223==n.j?g:null},QqhX:function(t,e,n){"use strict";if(n.d(e,{N:function(){return a}}),1223==n.j)var i=n("l0mj");if(1223==n.j)var r=n("VJVU");if(1223==n.j)var o=n("kXyw");function a(t){(0,i.D)(r.N),(0,i.D)(o.N)}},VJVU:function(t,e,n){"use strict";if(n.d(e,{N:function(){return s}}),1223==n.j)var i=n("pVF1");if(1223==n.j)var r=n("7eVC");if(1223==n.j)var o=n("PU5l");if(1223==n.j)var a=n("EmVx");function s(t){t.registerComponentModel(i.Z),t.registerComponentView(r.Z),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,o.Z),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),(0,a.U)(t)}},kXyw:function(t,e,n){"use strict";if(n.d(e,{N:function(){return l}}),1223==n.j)var i=n("l0mj");if(1223==n.j)var r=n("VJVU");if(1223==n.j)var o=n("0QgM");if(1223==n.j)var a=n("gdeC");if(1223==n.j)var s=n("/2//");function l(t){(0,i.D)(r.N),t.registerComponentModel(o.Z),t.registerComponentView(a.Z),(0,s.Z)(t)}},EmVx:function(t,e,n){"use strict";if(n.d(e,{U:function(){return o}}),1223==n.j)var i=n("5MlX");function r(t,e,n){var r,o={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=r?n[r?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),r=n.isSelected(e.name));var s=n.getData();(0,i.S6)(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&i:o[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:o}:{name:e.name,selected:o}}function o(t){t.registerAction("legendToggleSelect","legendselectchanged",(0,i.WA)(r,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,i.WA)(r,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,i.WA)(r,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,i.WA)(r,"select")),t.registerAction("legendUnSelect","legendunselected",(0,i.WA)(r,"unSelect"))}},PU5l:function(t,e,n){"use strict";function i(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var h={min:(0,s.WA)(u,"min"),max:(0,s.WA)(u,"max"),average:(0,s.WA)(u,"average"),median:(0,s.WA)(u,"median")};function c(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!(0,s.kJ)(e.coord)&&i){var r=i.dimensions,o=f(e,n,i,t);if((e=(0,s.d9)(e)).type&&h[e.type]&&o.baseAxis&&o.valueAxis){var a=(0,s.cq)(r,o.baseAxis.dim),l=(0,s.cq)(r,o.valueAxis.dim),u=h[e.type](n,o.baseDataDim,o.valueDataDim,a,l);e.coord=u[0],e.value=u[1]}else{for(var c=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],p=0;p<2;p++)h[c[p]]&&(c[p]=d(n,n.mapDimension(r[p]),c[p]));e.coord=c}}return e}function f(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function p(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function d(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var g=n("MeQD"),v=n("SHa5"),y=n("Y2yF"),m=n("wrin"),_=n("cipt"),x=n("vvKg"),b=m.Z.prototype,S=_.Z.prototype,w=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}(0,i.ZT)(e,t)}(w);function M(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var T=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new w},e.prototype.buildPath=function(t,e){M(e)?b.buildPath.call(this,t,e):S.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return M(this.shape)?b.pointAt.call(this,t):S.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=M(e)?[e.x2-e.x1,e.y2-e.y1]:S.tangentAt.call(this,t);return v.Fv(n,n)},e}(x.ZP),k=n("lHYj"),I=n("03Q3"),C=n("qNBa"),D=["fromSymbol","toSymbol"];function A(t){return"_"+t+"Type"}function P(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=y.zp(r),u=y.Cq(a||0,l),h=y.th(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return h.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,h.name=t,h}}function L(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var O=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return(0,i.ZT)(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new T({name:"line",subPixelOptimize:!0});return L(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,k.KZ(r,{shape:{percent:1}},i,e),this.add(r),(0,s.S6)(D,(function(n){var i=P(n,t,e);this.add(i),this[A(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};L(a.shape,o),k.D(r,a,i,e),(0,s.S6)(D,(function(n){var i=t.getItemVisual(e,n),r=A(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=P(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),a=n&&n.emphasisLineStyle,l=n&&n.blurLineStyle,u=n&&n.selectLineStyle,h=n&&n.labelStatesModels;if(!n||t.hasItemOption){var c=t.getItemModel(e);a=c.getModel(["emphasis","lineStyle"]).getLineStyle(),l=c.getModel(["blur","lineStyle"]).getLineStyle(),u=c.getModel(["select","lineStyle"]).getLineStyle(),h=(0,C.k3)(c)}var f=t.getItemVisual(e,"style"),p=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=a,r.ensureState("blur").style=l,r.ensureState("select").style=u,(0,s.S6)(D,(function(t){var e=this.childOfName(t);if(e){e.setColor(p),e.style.opacity=f.opacity;for(var n=0;n0&&(_[0]=-_[0],_[1]=-_[1]);var b=m[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var S=-Math.atan2(m[1],m[0]);u[0].8?"left":h[0]<-.8?"right":"center",f=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*d+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",f=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=d*b+l[0],i.y=l[1]+w,c=m[0]<0?"right":"left",i.originX=-d*b,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-d*b+u[0],i.y=u[1]+w,c=m[0]>=0?"right":"left",i.originX=d*b,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||f,align:i.__align||c})}}}function M(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(g.Z),R=O;function Z(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["emphasis","lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),labelStatesModels:(0,C.k3)(e)}}function z(t){return isNaN(t[0])||isNaN(t[1])}function N(t){return!z(t[0])&&!z(t[1])}var B=function(){function t(t){this.group=new g.Z,this._LineCtor=t||R}return t.prototype.isPersistent=function(){return!0},t.prototype.updateData=function(t){var e=this,n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=Z(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Z(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i=0&&"number"===typeof h&&(h=+h.toFixed(Math.min(_,20))),y.coord[g]=m.coord[g]=h,r=[y,m,{type:l,valueIndex:i.valueIndex,value:h}]}else r=[]}var x=[c(t,r[0]),c(t,r[1]),(0,s.l7)({},r[2])];return x[2].type=x[2].type||null,(0,s.TS)(x[2],x[0]),(0,s.TS)(x[2],x[1]),x};function K(t){return!isNaN(t)&&!isFinite(t)}function J(t,e,n,i){var r=1-t,o=i.dimensions[t];return K(e[r])&&K(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function Q(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(J(1,n,i,t)||J(0,n,i,t)))return!0}return p(t,e[0])&&p(t,e[1])}function $(t,e,n,i,r){var a,s=i.coordinateSystem,l=t.getItemModel(e),u=o.GM(l.get("x"),r.getWidth()),h=o.GM(l.get("y"),r.getHeight());if(isNaN(u)||isNaN(h)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=s.dimensions,f=t.get(c[0],e),p=t.get(c[1],e);a=s.dataToPoint([f,p])}if((0,X.H)(s,"cartesian2d")){var d=s.getAxis("x"),g=s.getAxis("y");c=s.dimensions;K(t.get(c[0],e))?a[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):K(t.get(c[1],e))&&(a[1]=g.toGlobalCoord(g.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(h)||(a[1]=h)}else a=[u,h];t.setItemLayout(e,a)}var tt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=E.Z.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=Y(e).from,o=Y(e).to;r.each((function(e){$(r,e,!0,t,n),$(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var o=t.coordinateSystem,a=t.id,u=t.getData(),h=this.markerGroupMap,c=h.get(a)||h.set(a,new B);this.group.add(c.group);var f=function(t,e,n){var i;i=t?(0,s.UI)(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return(0,s.l7)((0,s.l7)({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var o=new r.Z(i,n),a=new r.Z(i,n),u=new r.Z([],n),h=(0,s.UI)(n.get("data"),(0,s.WA)(q,e,t,n));t&&(h=(0,s.hX)(h,(0,s.WA)(Q,t)));var c=(f=!!t,p=i,f?function(t,e,n,i){var r=i<2?t.coord&&t.coord[i]:t.value;return(0,l.yQ)(r,p[i])}:function(t,e,n,i){return(0,l.yQ)(t.value,p[i])});var f,p;return o.initData((0,s.UI)(h,(function(t){return t[0]})),null,c),a.initData((0,s.UI)(h,(function(t){return t[1]})),null,c),u.initData((0,s.UI)(h,(function(t){return t[2]}))),u.hasItemOption=!0,{from:o,to:a,line:u}}(o,t,e),p=f.from,d=f.to,g=f.line;Y(e).from=p,Y(e).to=d,e.setData(g);var v=e.get("symbol"),y=e.get("symbolSize"),m=e.get("symbolRotate"),_=e.get("symbolOffset");function x(e,n,r){var o=e.getItemModel(n);$(e,n,r,t,i);var a=o.getModel("itemStyle").getItemStyle();null==a.fill&&(a.fill=(0,U.UL)(u,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:(0,s.pD)(o.get("symbolOffset",!0),_[r?0:1]),symbolRotate:(0,s.pD)(o.get("symbolRotate",!0),m[r?0:1]),symbolSize:(0,s.pD)(o.get("symbolSize"),y[r?0:1]),symbol:(0,s.pD)(o.get("symbol",!0),v[r?0:1]),style:a})}(0,s.kJ)(v)||(v=[v,v]),(0,s.kJ)(y)||(y=[y,y]),(0,s.kJ)(m)||(m=[m,m]),(0,s.kJ)(_)||(_=[_,_]),f.from.each((function(t){x(p,t,!0),x(d,t,!1)})),g.each((function(t){var e=g.getItemModel(t).getModel("lineStyle").getLineStyle();g.setItemLayout(t,[p.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=p.getItemVisual(t,"style").fill),g.setItemVisual(t,{fromSymbolKeepAspect:p.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:p.getItemVisual(t,"symbolOffset"),fromSymbolRotate:p.getItemVisual(t,"symbolRotate"),fromSymbolSize:p.getItemVisual(t,"symbolSize"),fromSymbol:p.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),c.updateData(g),f.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){(0,W.A)(t).dataModel=e}))})),this.markKeep(c),c.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(G);var et=tt},GkYF:function(t,e,n){"use strict";var i=n("eRfh"),r=n("5MlX"),o=n("/iMr"),a=n("xWWy"),s=n("ct4A"),l=n("NGbn"),u=n("WOKe");function h(t){(0,l.Cc)(t,"label",["show"])}var c=(0,l.Yf)(),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(o.Z.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var o=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),a=c(t)[o];n&&n.data?(a?a._mergeOption(n,e,!0):(i&&h(n),r.S6(n.data,(function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)})),a=this.createMarkerModelFromSeries(n,this,e),r.l7(a,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),c(t)[o]=a):c(t)[o]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return(0,u.TX)("section",{header:this.name,blocks:[(0,u.TX)("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return c(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(s.Z);r.jB(f,a.X.prototype),e.Z=1223==n.j?f:null},"8Y90":function(t,e,n){"use strict";if(n.d(e,{Z:function(){return r}}),1223==n.j)var i=n("5MlX");function r(t,e){if(!t)return!1;for(var n=(0,i.kJ)(t)?t:[t],r=0;r-1?(c+="top:50%",f+="translateY(-50%) rotate("+(s="left"===l?-225:-45)+"deg)"):(c+="left:50%",f+="translateX(-50%) rotate("+(s="top"===l?225:45)+"deg)");var p=s*Math.PI/180,d=h+o,g=d*Math.abs(Math.cos(p))+d*Math.abs(Math.sin(p)),v=e+" solid "+o+"px;";return'
'}(n,i,o)),(0,r.HD)(t))a.innerHTML=t+s;else if(t){a.innerHTML="",(0,r.kJ)(t)||(t=[t]);for(var l=0;l=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!o.Z.node){var r=Q(i,n);this._ticket="";var a=i.dataByCoordSys,s=function(t,e,n){var i=(0,F.zH)(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o,a=(0,F.HZ)(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!a)return;if(n.getViewOfComponentModel(a).group.traverse((function(e){var n=(0,j.A)(e).tooltipConfig;if(n&&n.name===t.name)return o=e,!0})),o)return{componentMainType:r,componentIndex:a.componentIndex,el:o}}(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=q;u.x=i.x,u.y=i.y,u.update(),(0,j.A)(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=(0,O.Z)(i,e),c=h.point[0],f=h.point[1];null!=c&&null!=f&&this._tryShow({offsetX:c,offsetY:f,target:h.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Q(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===J([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;this._lastDataByCoordSys=null,(0,G.o)(n,(function(t){return null!=(0,j.A)(t).dataIndex?(r=t,!0):null!=(0,j.A)(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=r.ak(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,o=[e.offsetX,e.offsetY],a=J([e.tooltipOption],i),s=this._renderMode,l=[],h=(0,g.TX)("section",{blocks:[],noHeader:!0}),c=[],f=new g.iv;U(t,(function(t){U(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=B.gk(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),a=(0,g.TX)("section",{header:o,noHeader:!r.fy(o),sortBlocks:!0,blocks:[]});h.blocks.push(a),r.S6(t.seriesDataIndices,(function(r){var h=n.getSeriesByIndex(r.seriesIndex),p=r.dataIndexInside,d=h.getDataParams(p);if(!(d.dataIndex<0)){d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=N.DX(e.axis,{value:i}),d.axisValueLabel=o,d.marker=f.makeTooltipMarker("item",u.Lz(d.color),s);var g=(0,H.f)(h.formatTooltip(p,!0,null));g.markupFragment&&a.blocks.push(g.markupFragment),g.markupText&&c.push(g.markupText),l.push(d)}}))}}))})),h.blocks.reverse(),c.reverse();var p=e.position,d=a.get("order"),v=(0,g.BY)(h,f,s,d,n.get("useUTC"),a.get("textStyle"));v&&c.unshift(v);var y="richText"===s?"\n\n":"
",m=c.join(y);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(a,p,o[0],o[1],this._tooltipContent,l):this._showTooltipContent(a,m,l,Math.random()+"",o[0],o[1],p,null,f)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,j.A)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,h=r.dataType,c=s.getData(h),f=this._renderMode,p=t.positionDefault,d=J([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),v=d.get("trigger");if(null==v||"item"===v){var y=s.getDataParams(l,h),m=new g.iv;y.marker=m.makeTooltipMarker("item",u.Lz(y.color),f);var _=(0,H.f)(s.formatTooltip(l,!1,h)),x=d.get("order"),b=_.markupFragment?(0,g.BY)(_.markupFragment,m,f,x,i.get("useUTC"),d.get("textStyle")):_.markupText,S="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,b,y,S,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=(0,j.A)(e),o=i.tooltipConfig.option||{};if(r.HD(o)){o={content:o,formatter:o}}var a=[o],s=this._ecModel.getComponent(i.componentMainType,i.componentIndex);s&&a.push(s),a.push({formatter:o.content});var l=t.positionDefault,u=J(a,this._tooltipModel,l?{position:l}:null),h=u.get("content"),c=Math.random()+"",f=new g.iv;this._showOrMove(u,(function(){var n=r.d9(u.get("formatterParams")||{});this._showTooltipContent(u,h,n,c,t.offsetX,t.offsetY,t.position,e,f)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,o,a,s,l,h){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,f=t.get("formatter");s=s||t.get("position");var p=e,d=this._getNearestPoint([o,a],n,t.get("trigger"),t.get("borderColor")).color;if(f)if(r.HD(f)){var g=t.ecModel.get("useUTC"),v=r.kJ(n)?n[0]:n;p=f,v&&v.axisType&&v.axisType.indexOf("time")>=0&&(p=(0,V.WU)(v.axisValue,p,g)),p=u.kF(p,n,!0)}else if(r.mf(f)){var y=W((function(e,i){e===this._ticket&&(c.setContent(i,h,t,d,s),this._updatePosition(t,s,o,a,c,n,l))}),this);this._ticket=i,p=f(n,i,y)}else p=f;c.setContent(p,h,t,d,s),c.show(t,d),this._updatePosition(t,s,o,a,c,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||r.kJ(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:r.kJ(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._doUpdatePosition=function(t,e,n,i,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=o.getSize(),f=t.get("align"),p=t.get("verticalAlign"),d=s&&s.getBoundingRect().clone();if(s&&d.applyTransform(s.transform),r.mf(e)&&(e=e([n,i],a,o.el,d,{viewSize:[l,u],contentSize:c.slice()})),r.kJ(e))n=Y(e[0],l),i=Y(e[1],u);else if(r.Kn(e)){var g=e;g.width=c[0],g.height=c[1];var v=R.ME(g,{width:l,height:u});n=v.x,i=v.y,f=null,p=null}else if(r.HD(e)&&s){var y=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,d,c,t.get("borderWidth"));n=y[0],i=y[1]}else{y=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,o,l,u,f?null:20,p?null:20);n=y[0],i=y[1]}if(f&&(n-=$(f)?c[0]/2:"right"===f?c[0]:0),p&&(i-=$(p)?c[1]/2:"bottom"===p?c[1]:0),h(t)){y=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,o,l,u);n=y[0],i=y[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&U(n,(function(n,a){var s=n.dataByAxis||[],l=(t[a]||{}).dataByAxis||[];(o=o&&s.length===l.length)&&U(s,(function(t,n){var a=l[n]||{},s=t.seriesDataIndices||[],u=a.seriesDataIndices||[];(o=o&&t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&s.length===u.length)&&U(s,(function(t,e){var n=u[e];o=o&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&r.S6(t.seriesDataIndices,(function(t){var n=t.seriesIndex,r=e[n],a=i[n];r&&a&&a.data!==r.data&&(o=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){o.Z.node||(this._tooltipContent.dispose(),z.E("itemTooltip",e))},e.type="tooltip",e}(E.Z);function J(t,e,n){var i,o=e.ecModel;n?(i=new Z.Z(n,o,o),i=new Z.Z(e.option,i,o)):i=e;for(var a=t.length-1;a>=0;a--){var s=t[a];s&&(s instanceof Z.Z&&(s=s.get("tooltip",!0)),r.HD(s)&&(s={formatter:s}),s&&(i=new Z.Z(s,i,o)))}return i}function Q(t,e){return t.dispatchAction||r.ak(e.dispatchAction,e)}function $(t){return"center"===t||"middle"===t}var tt=K},lijo:function(t,e,n){"use strict";if(n.d(e,{N:function(){return s}}),1223==n.j)var i=n("qwgN");if(1223==n.j)var r=n("l0mj");if(1223==n.j)var o=n("c6rG");if(1223==n.j)var a=n("28pw");function s(t){(0,r.D)(i.N),t.registerComponentModel(o.Z),t.registerComponentView(a.Z),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}},WOKe:function(t,e,n){"use strict";n.d(e,{TX:function(){return h},BY:function(){return p},jT:function(){return y},d_:function(){return m},iv:function(){return _}});var i=n("az88"),r=n("5MlX"),o=n("Jsu5"),a=n("OO99");function s(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var l=[0,10,20,30],u=["","\n","\n\n","\n\n\n"];function h(t,e){return e.type=t,e}function c(t){return(0,r.RI)(f,t.type)&&f[t.type]}var f={section:{planLayout:function(t){var e=t.blocks.length,n=e>1||e>0&&!t.noHeader,i=0;(0,r.S6)(t.blocks,(function(t){c(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=i&&(i=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=i},build:function(t,e,n,a){var l=e.noHeader,u=d(e),h=function(t,e,n,i){var a=[],s=e.blocks||[];(0,r.hu)(!s||(0,r.kJ)(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if((0,r.RI)(u,l)){var h=new o.ID(u[l],null);s.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===l&&s.reverse()}var f=d(e);if((0,r.S6)(s,(function(e,n){var r=c(e).build(t,e,n>0?f.html:0,i);null!=r&&a.push(r)})),!a.length)return;return"richText"===t.renderMode?a.join(f.richText):g(a.join(""),n)}(t,e,l?n:u.html,a);if(l)return h;var f=(0,i.uX)(e.header,"ordinal",t.useUTC),p=s(a,t.renderMode).nameStyle;return"richText"===t.renderMode?v(t,f,p)+u.richText+h:g('
'+(0,i.F1)(f)+"
"+h,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,o){var a=t.renderMode,l=e.noName,u=e.noValue,h=!e.markerType,c=e.name,f=e.value,p=t.useUTC;if(!l||!u){var d=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),y=l?"":(0,i.uX)(c,"ordinal",p),m=e.valueType,_=u?[]:(0,r.kJ)(f)?(0,r.UI)(f,(function(t,e){return(0,i.uX)(t,(0,r.kJ)(m)?m[e]:m,p)})):[(0,i.uX)(f,(0,r.kJ)(m)?m[0]:m,p)],x=!h||!l,b=!h&&l,S=s(o,a),w=S.nameStyle,M=S.valueStyle;return"richText"===a?(h?"":d)+(l?"":v(t,y,w))+(u?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join(" "),o)}(t,_,x,b,M)):g((h?"":d)+(l?"":function(t,e,n){return''+(0,i.F1)(t)+""}(y,!h,w))+(u?"":function(t,e,n,o){var a=n?"10px":"20px";return''+(0,r.UI)(t,(function(t){return(0,i.F1)(t)})).join("  ")+""}(_,x,b,M)),n)}}}};function p(t,e,n,i,r,o){if(t){var a=c(t);a.planLayout(t);var s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e};return a.build(s,t,0,o)}}function d(t){var e=t.__gapLevelBetweenSubBlocks;return{html:l[e],richText:u[e]}}function g(t,e){return'
'+t+'
'}function v(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function y(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.Lz)(n)}function m(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var _=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,a.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var o="richText"===n?this._generateStyleName():null,a=(0,i.A0)({color:e,type:t,renderMode:n,markerId:o});return(0,r.HD)(a)?a:(this.richTextStyles[o]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,r.kJ)(e)?(0,r.S6)(e,(function(t){return(0,r.l7)(n,t)})):(0,r.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},EiqN:function(t,e,n){"use strict";var i=n("eRfh"),r=n("5MlX"),o=n("rrks"),a=n("OO99"),s=n("BU6F"),l=[20,140],u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=l[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=l[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):r.kJ(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),r.S6(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=a.dt((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=h(this,"outOfRange",this.getExtent()),n=h(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a0?-1:n<0?1:e?-1:1}}function g(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var v=n("HLMk"),y=n("NGbn"),m=n("/ciP"),_=n("03Q3"),x=n("Y2yF"),b=n("KSMq"),S=n("oA72"),w=p.NU,M=r.S6,T=Math.min,k=Math.max,I=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return(0,i.ZT)(e,t),e.prototype.doRender=function(t,e,n,i){this._api=n,i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),h=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,f=this.visualMapModel.textStyleModel;this.group.add(new u.ZP({style:{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":h,align:"horizontal"===c?h:"center",text:i,font:f.getFont(),fill:f.getTextColor()}}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,o=this._orient,a=this._useHandle,s=v.X(e,this.api,i),l=n.mainGroup=this._createBarGroup(s),u=new h.Z;l.add(u),u.add(n.outOfRange=C()),u.add(n.inRange=C(null,a?A(this._orient):null,r.ak(this._dragHandle,this,"all",!1),r.ak(this._dragHandle,this,"all",!0))),u.setClipPath(new c.Z({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var f=e.textStyleModel.getTextRect("\u56fd"),p=k(f.width,f.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,l,0,i,p,o),this._createHandle(e,l,1,i,p,o)),this._createIndicator(e,l,i,p,o),t.add(l)},e.prototype._createHandle=function(t,e,n,i,o,s){var l=r.ak(this._dragHandle,this,n,!1),h=r.ak(this._dragHandle,this,n,!0),c=(0,m.GM)(t.get("handleSize"),i[0]),f=(0,x.th)(t.get("handleIcon"),-c/2,-c/2,c,c,null,!0),p=A(this._orient);f.attr({cursor:p,draggable:!0,drift:l,ondragend:h,onmousemove:function(t){a.sT(t.event)}}),f.x=i[0]/2,f.useStyle(t.getModel("handleStyle").getItemStyle()),f.setStyle({strokeNoScale:!0,strokeFirst:!0}),f.style.lineWidth*=2,f.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,_.Nj)(f,!0),e.add(f);var d=this.visualMapModel.textStyleModel,g=new u.ZP({cursor:p,draggable:!0,drift:l,onmousemove:function(t){a.sT(t.event)},ondragend:h,style:{x:0,y:0,text:"",font:d.getFont(),fill:d.getTextColor()}});g.ensureState("blur").style={opacity:.1},g.stateTransition={duration:200},this.group.add(g);var v=[c,0],y=this._shapes;y.handleThumbs[n]=f,y.handleLabelPoints[n]=v,y.handleLabels[n]=g},e.prototype._createIndicator=function(t,e,n,i,o){var a=(0,m.GM)(t.get("indicatorSize"),n[0]),s=(0,x.th)(t.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(s instanceof b.ZP){var h=s.style;s.useStyle(r.l7({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l);e.add(s);var c=this.visualMapModel.textStyleModel,f=new u.ZP({silent:!0,invisible:!0,style:{x:0,y:0,text:"",font:c.getFont(),fill:c.getTextColor()}});this.group.add(f);var p=[("horizontal"===o?i/2:6)+n[0]/2,0],d=this._shapes;d.indicator=s,d.indicatorLabel=f,d.indicatorLabelPoint=p,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():D(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[w(e[0],n,i,!0),w(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];!function(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=g(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=g(s,[0,a]),r=o=g(s,[r,o]),i=0}e[0]=g(e[0],n),e[1]=g(e[1],n);var l=d(e,i);e[i]+=t;var u,h=r||0,c=n.slice();l.sign<0?c[0]+=h:c[1]-=h,e[i]=g(e[i],c),u=d(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o)}(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[w(i[0],r,o,!0),w(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(n,s);return{barColor:new o.Z(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new h.Z("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();M([0,1],(function(u){var h=r[u];h.setStyle("fill",e.handlesColor[u]),h.y=t[u];var c=w(t[u],[0,a[1]],s,!0),f=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=f/a[0],h.x=a[0]-f/2;var p=l.applyTransform(n.handleLabelPoints[u],l.getTransform(h,this.group));o[u].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],u=this._shapes,h=u.indicator;if(h){h.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),f=this.getControllerVisual(t,"symbolSize"),p=w(t,o,s,!0),d=a[0]-f/2,g={x:h.x,y:h.y};h.y=p,h.x=d;var v=l.applyTransform(u.indicatorLabelPoint,l.getTransform(h,this.group)),y=u.indicatorLabel;y.attr("invisible",!1);var m=this._applyTransform("left",u.mainGroup),_="horizontal"===this._orient;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:_?m:"middle",align:_?"center":m});var x={x:d,y:p,style:{fill:c}},b={style:{x:v[0],y:v[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};h.x=g.x,h.y=g.y,h.animateTo(x,S),y.animateTo(b,S)}else h.attr(x),y.attr(b);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var T=0;Tr[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"\u2248 ",a));var h=this._hoverLinkDataIndices,c=[];(e||D(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var f=y.XI(h,c);this._dispatchHighDown("downplay",v.H(f[0],n)),this._dispatchHighDown("highlight",v.H(f[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=(0,S.A)(e).dataIndex){var i=(0,S.A)(e),r=this.ecModel.getSeriesByIndex(i.seriesIndex);if(n.isTargetSeries(r)){var o=r.getData(i.dataType),a=o.getStore().get(n.getDataDimensionIndex(o),i.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=r.d9(t)},e.prototype.getValueState=function(t){var e=a.Z.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){a.Z.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.S6(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=(0,u.ZL)(o.Z.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(o.Z),c={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;for(var a=(i[1]-i[0])/o;+a.toFixed(n)!==a&&n<5;)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,u=i[0];s","\u2265"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function f(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}e.Z=1223==n.j?h:null},"vA/k":function(t,e,n){"use strict";var i=n("eRfh"),r=n("5MlX"),o=n("u7NF"),a=n("MeQD"),s=n("MN9j"),l=n("Y2yF"),u=n("IBYA"),h=n("HLMk"),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,o=i.getFont(),l=i.getTextColor(),h=this._getItemAlign(),c=e.itemSize,f=this._getViewData(),p=f.endsText,d=r.Jv(e.get("showLabel",!0),!p);p&&this._renderEndsText(t,p[0],c,d,h),r.S6(f.viewPieceList,(function(i){var u=i.piece,f=new a.Z;f.onclick=r.ak(this._onItemClick,this,u),this._enableHoverLink(f,i.indexInModelPieceList);var p=e.getRepresentValue(u);if(this._createItemSymbol(f,p,[0,0,c[0],c[1]]),d){var g=this.visualMapModel.getValueState(p);f.add(new s.ZP({style:{x:"right"===h?-n:c[0]+n,y:c[1]/2,text:u.text,verticalAlign:"middle",align:h,font:o,fill:l,opacity:"outOfRange"===g?.5:1}}))}t.add(f)}),this),p&&this._renderEndsText(t,p[1],c,d,h),u.BZ(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:h.H(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return h.X(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new a.Z,l=this.visualMapModel.textStyleModel;o.add(new s.ZP({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e,font:l.getFont(),fill:l.getTextColor()}})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=r.UI(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),o=t.get("inverse");return("horizontal"===i?o:!o)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add((0,l.th)(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=r.d9(n.selected),o=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[o]=!0,r.S6(i,(function(t,e){i[e]=e===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})},e.type="visualMap.piecewise",e}(o.Z);e.Z=1223==n.j?c:null},rrks:function(t,e,n){"use strict";var i=n("eRfh"),r=n("5MlX"),o=n("/iMr"),a=n("0u8O"),s=n("j3fR"),l=n("acuG"),u=n("NGbn"),h=n("OO99"),c=n("ct4A"),f=s.Z.mapVisual,p=s.Z.eachVisual,d=r.kJ,g=r.S6,v=h.dt,y=h.NU,m=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;o.Z.canvasSupported||(n.realtime=!1),!e&&l.jO(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=r.ak(t,this),this.controllerVisuals=l.qD(this.option.controller,e,t),this.targetVisuals=l.qD(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=u.kF(t),e},e.prototype.eachTargetSeries=function(t,e){r.S6(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,o=this.option,a=o.precision,s=this.dataBound,l=o.formatter;n=n||["<",">"],r.kJ(t)&&(t=t.slice(),i=!0);var u=e?t:i?[h(t[0]),h(t[1])]:h(t);return r.HD(l)?l.replace("{value}",i?u[0]:u).replace("{value2}",i?u[1]:u):r.mf(l)?i?l(t[0],t[1]):l(t):i?t[0]===s[0]?n[0]+" "+u[1]:t[1]===s[1]?n[1]+" "+u[0]:u[0]+" - "+u[1]:u;function h(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=v([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),o=e.controller||(e.controller={});r.TS(i,n),r.TS(o,n);var l=this.isCategory();function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}u.call(this,i),u.call(this,o),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},g(i,(function(t,e){if(s.Z.isValidType(e)){var n=a.Z.get(e,"inactive",l);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),o=this.getItemSymbol()||"roundRect";g(this.stateList,(function(a){var s=this.itemSize,u=t[a];u||(u=t[a]={color:l?i:[i]}),null==u.symbol&&(u.symbol=e&&r.d9(e)||(l?o:[o])),null==u.symbolSize&&(u.symbolSize=n&&r.d9(n)||(l?s[0]:[s[0],s[0]])),u.symbol=f(u.symbol,(function(t){return"none"===t?o:t}));var h=u.symbolSize;if(null!=h){var c=-1/0;p(h,(function(t){t>c&&(c=t)})),u.symbolSize=f(h,(function(t){return y(t,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,o)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(c.Z);e.Z=1223==n.j?m:null},u7NF:function(t,e,n){"use strict";var i=n("eRfh"),r=n("5MlX"),o=n("J2q9"),a=n("az88"),s=n("IBYA"),l=n("j3fR"),u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return(0,i.ZT)(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=a.MY(e.get("padding")||0),i=t.getBoundingRect();t.add(new o.Z({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,o=this.visualMapModel,a={};if("color"===e){var s=o.get("contentColor");a.color=s}function u(t){return a[t]}function h(t,e){a[t]=e}var c=o.controllerVisuals[i||o.getValueState(t)],f=l.Z.prepareVisualTypes(c);return r.S6(f,(function(i){var r=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=c.__alphaForOpacity),l.Z.dependsOn(i,e)&&r&&r.applyVisual(t,u,h)})),a[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;s.p$(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(n("CGQi").Z);e.Z=1223==n.j?u:null},HLMk:function(t,e,n){"use strict";if(n.d(e,{X:function(){return a},H:function(){return s}}),1223==n.j)var i=n("5MlX");if(1223==n.j)var r=n("IBYA");var o=1223==n.j?[["left","right","width"],["top","bottom","height"]]:null;function a(t,e,n){var i=t.option,a=i.align;if(null!=a&&"auto"!==a)return a;for(var s={width:e.getWidth(),height:e.getHeight()},l="horizontal"===i.orient?1:0,u=o[l],h=[0,null,10],c={},f=0;f<3;f++)c[o[1-l][f]]=h[f],c[u[f]]=2===f?n[0]:i[u[f]];var p=[["x","width",3],["y","height",0]][l],d=(0,r.ME)(c,s,i.padding);return u[(d.margin[p[2]]||0)+d[p[0]]+.5*d[p[1]]<.5*s[p[1]]?0:1]}function s(t,e){return i.S6(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}},fh1Q:function(t,e,n){"use strict";if(n.d(e,{N:function(){return a}}),1223==n.j)var i=n("l0mj");if(1223==n.j)var r=n("yMf7");if(1223==n.j)var o=n("yKSi");function a(t){(0,i.D)(r.N),(0,i.D)(o.N)}},"w8+1":function(t,e,n){"use strict";if(n.d(e,{Z:function(){return l}}),1223==n.j)var i=n("i68G");if(1223==n.j)var r=n("TBtA");if(1223==n.j)var o=n("5MlX");if(1223==n.j)var a=n("NjgE");var s=!1;function l(t){s||(s=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(i.B,i.p),(0,o.S6)(r.A,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(a.Z))}},yMf7:function(t,e,n){"use strict";if(n.d(e,{N:function(){return a}}),1223==n.j)var i=n("EiqN");if(1223==n.j)var r=n("utxf");if(1223==n.j)var o=n("w8+1");function a(t){t.registerComponentModel(i.Z),t.registerComponentView(r.Z),(0,o.Z)(t)}},yKSi:function(t,e,n){"use strict";if(n.d(e,{N:function(){return a}}),1223==n.j)var i=n("+Htf");if(1223==n.j)var r=n("vA/k");if(1223==n.j)var o=n("w8+1");function a(t){t.registerComponentModel(i.Z),t.registerComponentView(r.Z),(0,o.Z)(t)}},NjgE:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n("5MlX"),r=i.S6;function o(t){var e=t&&t.visualMap;i.kJ(e)||(e=e?[e]:[]),r(e,(function(t){if(t){a(t,"splitList")&&!a(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i.kJ(e)&&r(e,(function(t){i.Kn(t)&&(a(t,"start")&&!a(t,"min")&&(t.min=t.start),a(t,"end")&&!a(t,"max")&&(t.max=t.end))}))}}))}function a(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}},TBtA:function(t,e,n){"use strict";n.d(e,{A:function(){return s}});var i=n("5MlX"),r=n("acuG"),o=n("j3fR"),a=n("Yo1B"),s=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var o=t.pipelineContext;!e.isTargetSeries(t)||o&&o.large||n.push(r.Z7(e.stateList,e.targetVisuals,i.ak(e.getValueState,e),e.getDataDimensionIndex(t.getData())))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),r=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var o=e.getVisualMeta(i.ak(l,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimensionIndex(n);a>=0&&(o.dimension=a,r.push(o))}})),t.getData().setVisual("visualMeta",r)}}];function l(t,e,n,i){for(var r=e.targetVisuals[i],s=o.Z.prepareVisualTypes(r),l={color:(0,a.UL)(t.getData(),"color")},u=0,h=s.length;u0&&i>0||n<0&&i<0)}function y(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):"string"===typeof i?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):"function"===typeof i?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(m(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function m(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function _(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,o,a=n.getExtent();o=n instanceof r.Z?n.count():(i=n.getTicks()).length;var s,l=t.getLabelModel(),u=y(t),h=1;o>40&&(h=Math.ceil(o/40));for(var c=0;c1&&c/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=(0,o.WY)(t),p=s.get("showMinLabel")||f,d=s.get("showMaxLabel")||f;p&&h!==a[0]&&v(a[0]);for(var g=h;g<=a[1];g+=u)v(g);function v(t){var e={value:t};l.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&g-u!==a[1]&&v(a[1]),l}function k(t,e,n){var r=t.scale,a=(0,o.J9)(t),s=[];return i.S6(r.getTicks(),(function(t){var i=r.getLabel(t),o=t.value;e(t.value,i)&&s.push(n?o:{formattedLabel:a(t),rawLabel:i,tickValue:o})})),s}var I=[0,1];function C(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var D=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,a.ZT)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,g.M9)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&C(n=n.slice(),i.count()),(0,g.NU)(t,I,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&C(n=n.slice(),i.count());var r=(0,g.NU)(t,n,I,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=x(this,e).ticks,r=(0,i.UI)(n,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,r){var o=e.length;if(!t.onBand||n||!o)return;var a,s,l=t.getExtent();if(1===o)e[0].coord=l[0],a=e[1]={coord:l[0]};else{var u=e[o-1].tickValue-e[0].tickValue,h=(e[o-1].coord-e[0].coord)/u;(0,i.S6)(e,(function(t){t.coord-=h/2})),s=1+t.scale.getExtent()[1]-e[o-1].tickValue,a={coord:e[o-1].coord+h*s},e.push(a)}var c=l[0]>l[1];f(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift());r&&f(l[0],e[0].coord)&&e.unshift({coord:l[0]});f(l[1],a.coord)&&(r?a.coord=l[1]:e.pop());r&&f(a.coord,l[1])&&e.push({coord:l[1]});function f(t,e){return t=(0,g.NM)(t),e=(0,g.NM)(e),c?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,i.UI)(e,(function(t){return(0,i.UI)(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return _(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=(0,o.J9)(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,a=r.getExtent(),s=r.count();if(a[1]-a[0]<1)return 0;var l=1;s>40&&(l=Math.max(1,Math.floor(s/40)));for(var u=a[0],h=t.dataToCoord(u+1)-t.dataToCoord(u),c=Math.abs(h*Math.cos(i)),f=Math.abs(h*Math.sin(i)),p=0,d=0;u<=a[1];u+=l){var g,y,_=v.lP(n({value:u}),e.font,"center","top");g=1.3*_.width,y=1.3*_.height,p=Math.max(p,g,7),d=Math.max(d,y,7)}var x=p/c,b=d/f;isNaN(x)&&(x=1/0),isNaN(b)&&(b=1/0);var S=Math.max(0,Math.floor(Math.min(x,b))),w=m(t.model),M=t.getExtent(),T=w.lastAutoInterval,k=w.lastTickCount;return null!=T&&null!=k&&Math.abs(T-S)<=1&&Math.abs(k-s)<=1&&T>S&&w.axisExtent0===M[0]&&w.axisExtent1===M[1]?S=T:(w.lastTickCount=s,w.lastAutoInterval=S,w.axisExtent0=M[0],w.axisExtent1=M[1]),S}(this)},t}()),A=n("ThWk");function P(t,e){return t.getCoordSysModel()===e}function L(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)O(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&O(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function O(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,o.Yb)(t)}var R=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=c,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),(0,i.S6)(n.x,(function(t){(0,o.Jk)(t.scale,t.model)})),(0,i.S6)(n.y,(function(t){(0,o.Jk)(t.scale,t.model)}));var r={};(0,i.S6)(n.x,(function(t){L(n,"y",t,r)})),(0,i.S6)(n.y,(function(t){L(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),s=!n&&t.get("containLabel"),l=(0,r.ME)(a,{width:e.getWidth(),height:e.getHeight()});this._rect=l;var u=this._axesList;function h(){(0,i.S6)(u,(function(t){var e=t.isHorizontal(),n=e?[0,l.width]:[0,l.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?l.x:l.y)}))}h(),s&&((0,i.S6)(u,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,o.Do)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);l[n]-=e[n]+i,"top"===t.position?l.y+=e.height+i:"left"===t.position&&(l.x+=e.width+i)}}})),h()),(0,i.S6)(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,i.Kn)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,o=this._coordsList;r=4&&(h={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(h&&null!=s&&null!=u&&(c=B(h,{x:0,y:0,width:s,height:u}),!e.ignoreViewBox)){var d=i;(i=new o.Z).add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==s||null==u||i.setClipPath(new l.Z({shape:{x:0,y:0,width:s,height:u}})),{root:i,width:s,height:u,viewBoxRect:h,viewBoxTransform:c,named:r}},t.prototype._parseNode=function(t,e,n,o,a,s){var l,u=t.nodeName.toLowerCase(),h=o;if("defs"===u&&(a=!0),"text"===u&&(s=!0),"defs"===u||"switch"===u)l=e;else{if(!a){var c=i[u];if(c&&(0,r.RI)(i,u)){l=c.call(this,t,e);var f=t.getAttribute("name");if(f){var p={name:f,namedFrom:null,svgNodeTagLower:u,el:l};n.push(p),"g"===u&&(h=p)}else o&&n.push({name:o.name,namedFrom:o,svgNodeTagLower:u,el:l});e.add(l)}}var d=M[u];if(d&&(0,r.RI)(M,u)){var g=d.call(this,t),v=t.getAttribute("id");v&&(this._defs[v]=g)}}if(l&&l.isGroup)for(var y=t.firstChild;y;)1===y.nodeType?this._parseNode(y,l,n,h,a,s):3===y.nodeType&&s&&this._parseText(y,l),y=y.nextSibling},t.prototype._parseText=function(t,e){var n=new y.Z({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});I(e,n),D(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(i={g:function(t,e){var n=new o.Z;return I(e,n),D(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new l.Z;return I(e,n),D(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new s.Z;return I(e,n),D(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new h.Z;return I(e,n),D(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new u.Z;return I(e,n),D(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=C(i));var r=new c.Z({shape:{points:n||[]},silent:!0});return I(e,r),D(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=C(i));var r=new f.Z({shape:{points:n||[]},silent:!0});return I(e,r),D(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new a.ZP;return I(e,n),D(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(a);var s=new o.Z;return I(e,s),D(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",s=new o.Z;return I(e,s),D(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(a),s},path:function(t,e){var n=t.getAttribute("d")||"",i=(0,d.iR)(n);return I(e,i),D(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}),t}(),M={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new g.Z(e,n,i,r);return T(t,o),k(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new v.Z(e,n,i);return T(t,r),k(t,r),r}};function T(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function k(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};N(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function I(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),(0,r.ce)(e.__inheritedStyle,t.__inheritedStyle))}function C(t){for(var e=O(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=O(a);switch(r=r||p.Ue(),s){case"translate":p.Iu(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":p.bA(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":p.U1(r,r,-parseFloat(l[0])*Z);break;case"skewX":var u=Math.tan(parseFloat(l[0])*Z);p.dC(r,[1,0,u,1,0,0],r);break;case"skewY":var h=Math.tan(parseFloat(l[0])*Z);p.dC(r,[1,h,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),N(t,s,l),i||function(t,e,n){for(var i=0;i>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function G(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);for(var i=e.features,r=0;r0})),(function(t){var n=t.properties,i=t.geometry,o=[];if("Polygon"===i.type){var a=i.coordinates;o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)})}if("MultiPolygon"===i.type){a=i.coordinates;r.S6(a,(function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}))}var s=new E.Ni(n[e||"name"],o,n.cp);return s.properties=n,s}))}for(var X=[126,25],W="\u5357\u6d77\u8bf8\u5c9b",U=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Y=0;Y0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var f=this._determinedMin,p=this._determinedMax;return null!=f&&(s=f,u=!0),null!=p&&(l=p,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(t,e,n){var i=t.rawExtentInfo;return i||(i=new o(t,e,n),t.rawExtentInfo=i,i)}function u(t,e){return null==e?null:(0,i.Bu)(e)?NaN:t.parse(e)}},a1Tn:function(t,e,n){"use strict";var i=n("5MlX"),r={},o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.S6(r,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){i.S6(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}();e.Z=1223==n.j?o:null},VfZg:function(t,e,n){"use strict";n.d(e,{Hr:function(){return oe},S1:function(){return Ue},zl:function(){return en},RS:function(){return nn},qR:function(){return rn},yn:function(){return ln},je:function(){return un},sq:function(){return Qe},Br:function(){return $e},ds:function(){return Ke},Pu:function(){return Je},OB:function(){return hn},YK:function(){return tn},Og:function(){return on}});var i=n("eRfh"),r=n("6oZ4"),o=n("5MlX"),a=n("eFAM"),s=n("/iMr"),l=n("o/RO"),u=n("hq4F"),h=n("NGbn"),c=n("hY/y"),f=n("ct4A"),p="";"undefined"!==typeof navigator&&(p=navigator.platform||"");var d="rgba(0, 0, 0, 0.2)",g={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:d,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:d,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:d,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:d,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:d,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:d,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:p.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},v=n("244e"),y=(0,o.kW)();var m,_,x,b=n("tTKH");var S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new c.Z(i),this._locale=new c.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=T(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,T(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):x(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,o.S6)(s,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],s=(0,o.kW)(),l=e&&e.replaceMergeMainTypeMap;(0,v.md)(this),(0,o.S6)(t,(function(t,e){null!=t&&(f.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,o.d9)(t):(0,o.TS)(n[e],t,!0))})),l&&l.each((function(t,e){f.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))})),f.Z.topologicalTravel(a,f.Z.getAllClassMainTypes(),(function(e){var a=function(t,e,n){var i=y.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,h.kF(t[e])),s=i.get(e),u=s?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=h.ab(s,a,u);h.O0(c,e,f.Z),n[e]=null,i.set(e,null),r.set(e,0);var p=[],d=[],g=0;(0,o.S6)(c,(function(t,n){var i=t.existing,r=t.newOption;if(r){var a="series"===e,s=f.Z.getClass(e,t.keyInfo.subType,!a);if(!s)return;if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,o.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,o.l7)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),g++):(p.push(void 0),d.push(void 0))}),this),n[e]=p,i.set(e,d),r.set(e,g),"series"===e&&m(this)}),this),this._seriesIndices||m(this)},e.prototype.getOption=function(){var t=(0,o.d9)(this.option);return(0,o.S6)(t,(function(e,n){if(f.Z.hasClass(n)){for(var i=h.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!h.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var O=P,R=n("OKSz");function Z(t){t&&(0,o.S6)(z,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var z=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],N=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],B=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function F(t){var e=t&&t.itemStyle;if(e)for(var n=0;n=0;d--){var g=t[d];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var v=g.data.getByRawIndex(g.stackResultDimension,c);if(f>=0&&v>0||f<=0&&v<0){f=(0,G.S$)(f,v),p=v;break}}}return i[0]=f,i[1]=p,i}))}))}var W=n("slPF"),U=n("CGQi"),Y=n("TaYd"),q=n("J2q9"),K=n("KSMq"),J=n("lHYj"),Q=n("vvKg"),$=n("oA72"),tt=n("03Q3"),et=n("xIVD"),nt=n("pYLy"),it=n("7f8C"),rt=n("AGCk"),ot=(0,h.Yf)(),at={itemStyle:(0,nt.Z)(it.t,!0),lineStyle:(0,nt.Z)(rt.v,!0)},st={lineStyle:"stroke",itemStyle:"fill"};function lt(t,e){var n=t.visualStyleMapper||at[e];return n||(console.warn("Unkown style type '"+e+"'."),at.itemStyle)}function ut(t,e){var n=t.visualDrawType||st[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var ht={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=lt(t,i)(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=ut(t,i),u=a[l],h=(0,o.mf)(u)?u:null,c="auto"===a.fill||"auto"===a.stroke;if(!a[l]||h||c){var f=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[l]||(a[l]=f,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||"function"===typeof a.fill?f:a.fill,a.stroke="auto"===a.stroke||"function"===typeof a.stroke?f:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,o.l7)({},a);r[l]=h(i),e.setItemVisual(n,"style",r)}}}},ct=new c.Z,ft={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=lt(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){ct.option=n[i];var s=r(ct),l=t.ensureUniqueItemVisual(e,"style");(0,o.l7)(l,s),ct.option.decal&&(t.setItemVisual(e,"decal",ct.option.decal),ct.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},pt={performRawSeries:!0,overallReset:function(t){var e=(0,o.kW)();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),ot(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=ot(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=ut(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},dt=n("MeQD"),gt=n("MN9j"),vt=n("03ZD"),yt=Math.PI;var mt=n("wZmF"),_t=n("BU6F"),xt=function(){function t(t,e,n,i){this._stageTaskMap=(0,o.kW)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,o.kW)();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,o.S6)(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,o.hu)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,o.S6)(t,(function(t,o){if(!i.visualType||i.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,f=h.agentStubMap;f.each((function(t){s(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),a.updatePayload(h,n);var p=a.getPerformArgs(h,i.block);f.each((function(t){t.perform(p)})),h.perform(p)&&(r=!0)}else u&&u.each((function(o,l){s(i,o)&&o.dirty();var u=a.getPerformArgs(o,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,s=e.seriesTaskMap=(0,o.kW)(),l=t.seriesType,u=t.getTargetSeries;function h(e){var o=e.uid,l=s.set(o,a&&a.get(o)||(0,mt.v)({plan:Tt,reset:kt,count:Dt}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(h):l?n.eachRawSeriesByType(l,h):u&&u(n,i).each(h)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||(0,mt.v)({reset:bt});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var s=a.agentStubMap,l=a.agentStubMap=(0,o.kW)(),u=t.seriesType,h=t.getTargetSeries,c=!0,f=!1;function p(t){var e=t.uid,n=l.set(e,s&&s.get(e)||(f=!0,(0,mt.v)({reset:St,onDirty:Mt})));n.context={model:t,overallProgress:c},n.agent=a,n.__block=c,r._pipe(t,n)}(0,o.hu)(!t.createOnAllSeries,""),u?n.eachRawSeriesByType(u,p):h?h(n,i).each(p):(c=!1,(0,o.S6)(n.getSeries(),p)),f&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,o.mf)(t)&&(t={overallReset:t,seriesType:At(t)}),t.uid=(0,_t.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function bt(t){t.overallReset(t.ecModel,t.api,t.payload)}function St(t){return t.overallProgress&&wt}function wt(){this.agent.dirty(),this.getDownstream().dirty()}function Mt(){this.agent&&this.agent.dirty()}function Tt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function kt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,h.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,o.UI)(e,(function(t,e){return Ct(e)})):It}var It=Ct(0);function Ct(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Wt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){var i=t.get("symbol"),r=t.get("symbolSize"),a=t.get("symbolKeepAspect"),s=t.get("symbolRotate"),l=t.get("symbolOffset"),u=(0,o.mf)(i),h=(0,o.mf)(r),c=(0,o.mf)(s),f=(0,o.mf)(l),p=u||h||c||f,d=!u&&i?i:t.defaultSymbol,g=h?null:r,v=c?null:s,y=f?null:l;if(n.setVisual({legendIcon:t.legendIcon||d,symbol:d,symbolSize:g,symbolKeepAspect:a,symbolRotate:v,symbolOffset:y}),!e.isSeriesFiltered(t))return{dataEach:p?function(e,n){var o=t.getRawValue(n),a=t.getDataParams(n);u&&e.setItemVisual(n,"symbol",i(o,a)),h&&e.setItemVisual(n,"symbolSize",r(o,a)),c&&e.setItemVisual(n,"symbolRotate",s(o,a)),f&&e.setItemVisual(n,"symbolOffset",l(o,a))}:null}}}},Ut=n("Yo1B"),Yt=n("iLBP"),qt=n("O/XY"),Kt=n("HIub"),Jt=n("S12o"),Qt=n("GOyu"),$t=n("jb6w");var te=n("wRYp"),ee=new u.Z,ne="undefined"!==typeof window,ie=2e3,re=4500,oe={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:ie,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:re,ARIA:6e3,DECAL:7e3}},ae=/^[a-zA-Z0-9_]+$/,se="__connectUpdateStatus";function le(t){return function(){for(var e=[],n=0;n0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.setOption=function(t,e,n){if(this._disposed)Ze(this.id);else{var i,r,a;if((0,o.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var s=new O(this._api),l=this._theme,u=this._model=new k;u.scheduler=this._scheduler,u.init(null,null,null,l,this._locale,s)}this._model.setOption(t,{replaceMerge:r},Fe);var h={seriesTransition:a,optionChanged:!0};n?(this.__pendingUpdate={silent:i,updateParams:h},this.__flagInMainProcess=!1,this.getZr().wakeUp()):(ce(this),de.update.call(this,null,h),this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,me.call(this,i),_e.call(this,i))}},e.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||ne&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if(s.Z.canvasSupported)return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.getSvgDataURL=function(){if(s.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,o.S6)(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,o.S6)(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,o.S6)(i,(function(t){t.group.ignore=!1})),a}Ze(this.id)},e.prototype.getConnectedDataURL=function(t){if(this._disposed)Ze(this.id);else if(s.Z.canvasSupported){var e="svg"===t.type,n=this.group,i=Math.min,a=Math.max,l=1/0;if(Ge[n]){var u=l,h=l,c=-1/0,f=-1/0,p=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();(0,o.S6)(He,(function(r,s){if(r.group===n){var l=e?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas((0,o.d9)(t)),d=r.getDom().getBoundingClientRect();u=i(d.left,u),h=i(d.top,h),c=a(d.right,c),f=a(d.bottom,f),p.push({dom:l,left:d.left,top:d.top})}}));var g=(c*=d)-(u*=d),v=(f*=d)-(h*=d),y=(0,o.vL)(),m=r.S1(y,{renderer:e?"svg":"canvas"});if(m.resize({width:g,height:v}),e){var _="";return(0,o.S6)(p,(function(t){var e=t.left-u,n=t.top-h;_+=''+t.dom+""})),m.painter.getSvgRoot().innerHTML=_,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new q.Z({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),(0,o.S6)(p,(function(t){var e=new K.ZP({style:{x:t.left*d-u,y:t.top*d-h,image:t.dom}});m.add(e)})),m.refreshImmediately(),y.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return ge(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return ge(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=h.pm(i,t);return(0,o.S6)(r,(function(t,i){i.indexOf("Models")>=0&&(0,o.S6)(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}Ze(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=h.pm(n,t,{defaultMainType:"series"});var r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,Ut.Or)(r,o,e):(0,Ut.UL)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,o.S6)(Re,(function(e){var n=function(n){var i,r=t.getModel(),a=n.target;if("globalout"===e?i={}:a&&(0,Qt.o)(a,(function(t){var e=(0,$.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=(0,o.l7)({},e.eventData),!0}),!0),i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:u,view:h},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),(0,o.S6)(Ne,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),(0,o.S6)(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),(0,qt.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Ze(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Ze(this.id);else{this._disposed=!0,h.P$(this.getDom(),We,"");var t=this,e=t._api,n=t._model;(0,o.S6)(t._componentsViews,(function(t){t.dispose(n,e)})),(0,o.S6)(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete He[t.id]}},e.prototype.resize=function(t){if(this._disposed)Ze(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this.__pendingUpdate&&(null==i&&(i=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0,n&&ce(this),de.update.call(this,{type:"resize",animation:(0,o.l7)({duration:0},t&&t.animation)}),this.__flagInMainProcess=!1,me.call(this,i),_e.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Ze(this.id);else if((0,o.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),je[t]){var n=je[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?Ze(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,o.l7)({},t);return e.type=Ne[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Ze(this.id);else if((0,o.Kn)(e)||(e={silent:!!e}),ze[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;ye.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&s.Z.browser.weChat&&this._throttledZrFlush(),me.call(this,n),_e.call(this,n)}},e.prototype.updateLabelLayout=function(){ee.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Ze(this.id);else{var e=t.seriesIndex;0,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(J.eq(e))return;if(e instanceof Q.ZP&&(0,tt.e9)(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(r){e.stateTransition=a;var i=e.getTextContent(),o=e.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&t(e)}}))}ce=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),fe(t,!0),fe(t,!1),e.plan()},fe=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!s.Z.node&&!s.Z.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,n),ee.trigger("series:afterupdate",n,i,u)},Ce=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},De=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){J.eq(e)||t(e)})),e.__needsUpdateStatus=!1)},ke=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tt.fD)(e,n),Ce(t)},n.prototype.leaveEmphasis=function(e,n){(0,tt.Mh)(e,n),Ce(t)},n.prototype.enterBlur=function(e){(0,tt.SX)(e),Ce(t)},n.prototype.leaveBlur=function(e){(0,tt.VP)(e),Ce(t)},n.prototype.enterSelect=function(e){(0,tt.XX)(e),Ce(t)},n.prototype.leaveSelect=function(e){(0,tt.SJ)(e),Ce(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(C))(t)},Ie=function(t){function e(t,e){for(var n=0;n=0)){an.push(n);var a=Zt.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function ln(t,e){je[t]=e}function un(t,e,n){te.Z.registerMap(t,e,n)}var hn=Kt.DA;on(ie,ht),on(re,ft),on(re,pt),on(ie,Wt),on(re,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.getShallow("symbol",!0),r=n.getShallow("symbolSize",!0),o=n.getShallow("symbolRotate",!0),a=n.getShallow("symbolOffset",!0),s=n.getShallow("symbolKeepAspect",!0);null!=i&&t.setItemVisual(e,"symbol",i),null!=r&&t.setItemVisual(e,"symbolSize",r),null!=o&&t.setItemVisual(e,"symbolRotate",o),null!=a&&t.setItemVisual(e,"symbolOffset",a),null!=s&&t.setItemVisual(e,"symbolKeepAspect",s)}:null}}}),on(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=(0,$t.I)(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=(0,$t.I)(r,e)}}))})),Ke(H),Je(900,(function(t){var e=(0,o.kW)();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(X)})),ln("default",(function(t,e){e=e||{},o.ce(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new dt.Z,i=new q.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new gt.ZP({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),s=new q.Z({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&((r=new vt.Z({shape:{startAngle:-yt/2,endAngle:-yt/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*yt/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*yt/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,o=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*o-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:o),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),s.setShape({x:l-o,y:u-o,width:2*o,height:2*o}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),en({type:tt.Ki,event:tt.Ki,update:tt.Ki},o.ZT),en({type:tt.yx,event:tt.yx,update:tt.yx},o.ZT),en({type:tt.Hg,event:tt.Hg,update:tt.Hg},o.ZT),en({type:tt.JQ,event:tt.JQ,update:tt.JQ},o.ZT),en({type:tt.iK,event:tt.iK,update:tt.iK},o.ZT),qe("light",Nt),qe("dark",Ht)},S12o:function(t,e,n){"use strict";n.d(e,{sO:function(){return c},D0:function(){return p},Li:function(){return g},G8:function(){return d}});var i=n("hY/y"),r=n("/iMr"),o=n("5MlX"),a="ZH",s="EN",l=s,u={},h={},c=r.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(a)>-1?a:l;function f(t,e){t=t.toUpperCase(),h[t]=new i.Z(e),u[t]=e}function p(t){if((0,o.HD)(t)){var e=u[t.toUpperCase()]||{};return t===a||t===s?(0,o.d9)(e):(0,o.TS)((0,o.d9)(e),(0,o.d9)(u.EN),!1)}return(0,o.TS)((0,o.d9)(t),(0,o.d9)(u.EN),!1)}function d(t){return h[t]}function g(){return h.EN}f(s,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),f(a,{time:{month:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}})},wZmF:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var i=n("5MlX");function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var a,s=c(this._modBy),l=this._modDataCount||0,u=c(t&&t.modBy),h=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}s===u&&l===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(r)),this._modBy=u,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(a||p1&&i>0?s:a}};return o;function a(){return e=t?null:o1){var h=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(h,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s1&&1===f)this._updateManyToOne&&this._updateManyToOne(h,u),r[l]=null;else if(1===c&&f>1)this._updateOneToMany&&this._updateOneToMany(h,u),r[l]=null;else if(1===c&&1===f)this._update&&this._update(h,u),r[l]=null;else if(c>1&&f>1)this._updateManyToMany&&this._updateManyToMany(h,u),r[l]=null;else if(c>1)for(var p=0;p1)for(var s=0;s65535?l:u}function d(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function g(t,e,n,i,r){var o=f[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;uy[1]&&(y[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.UI)(a,(function(t){return t.property})),h=0;hm[1]&&(m[1]=y)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=h&&b<=c||isNaN(b))&&(s[l++]=g),g++}d=!0}else if(2===o){v=f[i[0]];var m=f[i[1]],_=t[i[1]][0],x=t[i[1]][1];for(y=0;y=h&&b<=c||isNaN(b))&&(S>=_&&S<=x||isNaN(S))&&(s[l++]=g),g++}d=!0}}if(!d)if(1===o)for(y=0;y=h&&b<=c||isNaN(b))&&(s[l++]=w)}else for(y=0;yt[k][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(y))}return lv[1]&&(v[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(p(this._rawCount))(Math.ceil(s/u)+2);c[l++]=h;for(var f=1;fn&&(n=i,r=M)}c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(p(this._rawCount))(Math.ceil(u/s)),f=0,d=0;du-d&&(s=u-d,a.length=s);for(var g=0;gh[1]&&(h[1]=y),c[f++]=m}return r._count=f,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();ra&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}();e.ZP=1223==n.j?v:null},BJ00:function(t,e,n){"use strict";var i=n("5MlX"),r=0,o=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,o=r&&(0,i.UI)(r,a);return new t({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!==typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.kW)(this.categories))},t}();function a(t){return(0,i.Kn)(t)&&null!=t.value?t.value:t+""}e.Z=1223==n.j?o:null},aaDX:function(t,e,n){"use strict";var i,r,o,a,s,l,u,h=n("5MlX"),c=n("hY/y"),f=n("u5tU"),p=n("LPjg"),d=n("ZcDV"),g=n("P1w3"),v=n("ft5V"),y=n("NGbn"),m=n("oA72"),_=n("GkCJ"),x=n("PNzC"),b=n("HKiN"),S=h.Kn,w=h.UI,M="undefined"===typeof Int32Array?Array:Int32Array,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],k=["_approximateExtent"],I=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;(0,b.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===v.cy&&!n.pure)for(var a=[],s=t;s0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),h.kJ(r)?r=r.slice():S(r)&&(r=h.l7({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,S(e)?h.l7(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(S(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?h.l7(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.S6(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.tP(arguments)))})},t.internalField=(i=function(t){var e=t._invertedIndicesMap;h.S6(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new M(o.categories.length);for(var s=0;s1&&(l+="__ec__"+h),i[e]=l}})),t}();e.Z=1223==n.j?I:null},P1w3:function(t,e,n){"use strict";var i=n("5MlX"),r=function(t){this.otherDims={},null!=t&&i.l7(this,t)};e.Z=1223==n.j?r:null},GkCJ:function(t,e,n){"use strict";if(n.d(e,{Ld:function(){return l},_P:function(){return u},nx:function(){return h},ML:function(){return c},Kp:function(){return f},QY:function(){return g}}),1223==n.j)var i=n("5MlX");var r=n("ft5V");if(1223==n.j)var o=n("NGbn");var a=n("244e"),s=function(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n30}},pOW2:function(t,e,n){"use strict";if(n.d(e,{Z:function(){return c}}),1223==n.j)var i=n("ft5V");if(1223==n.j)var r=n("P1w3");if(1223==n.j)var o=n("5MlX");if(1223==n.j)var a=n("GkCJ");if(1223==n.j)var s=n("PNzC");if(1223==n.j)var l=n("NGbn");if(1223==n.j)var u=n("244e");if(1223==n.j)var h=n("HKiN");function c(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n=(e=e||{}).coordDimensions||[],c=e.dimensionsDefine||t.dimensionsDefine||[],p=(0,o.kW)(),d=[],g=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return(0,o.S6)(e,(function(t){var e;(0,o.Kn)(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,c,e.dimensionsCount),v=e.canOmitUnusedDimensions&&(0,h.Jl)(g),y=c===t.dimensionsDefine,m=y?(0,h.Jj)(t):(0,h.v5)(c),_=e.encodeDefine;!_&&e.encodeDefaulter&&(_=e.encodeDefaulter(t,g));for(var x=(0,o.kW)(_),b=new s.hG(g),S=0;S0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(d),new h.Eo({source:t,dimensions:d,fullDimensionCount:g,dimensionOmitted:v})}function f(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){for(var r=0;i.hasOwnProperty(t+r);)r++;t+=r}return e.set(t,!0),t}},LPjg:function(t,e,n){"use strict";n.d(e,{Pl:function(){return f},_j:function(){return g},a:function(){return m},tB:function(){return b},hk:function(){return w}});var i,r,o,a,s,l=n("5MlX"),u=n("NGbn"),h=n("GkCJ"),c=n("ft5V"),f=function(){function t(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,f=o.dimensionsDefine,p=a[S(s,u)];if((0,l.l7)(t,p),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=g(s,u);t.getItem=(0,l.ak)(d,null,r,h,f);var v=m(s,u);t.count=(0,l.ak)(v,null,r,h,f)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;ou&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;ee},gte:function(t,e){return t>=e}},l=(function(){function t(t,e){if("number"!==typeof e){0,(0,o._y)("")}this._opFn=s[t],this._rvalFloat=(0,i.FK)(e)}t.prototype.evaluate=function(t){return"number"===typeof t?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)}}(),function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=typeof t,r=typeof e,o="number"===n?t:(0,i.FK)(t),a="number"===r?e:(0,i.FK)(e),s=isNaN(o),l=isNaN(a);if(s&&(o=this._incomparable),l&&(a=this._incomparable),s&&l){var u="string"===n,h="string"===r;u&&(o=h?t:0),h&&(a=u?e:0)}return oa?-this._resultLT:0},t}());!function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(e)}t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}}()},ZcDV:function(t,e,n){"use strict";if(n.d(e,{y:function(){return a},T:function(){return l}}),1223==n.j)var i=n("5MlX");if(1223==n.j)var r=n("ft5V");var o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},l=(0,i.kW)(),u=[],h=[],c={};(0,i.S6)(t.dimensions,(function(e){var n,i=t.getDimensionInfo(e),o=i.coordDim;if(o){0;var f=i.coordDimIndex;s(a,o)[f]=e,i.isExtraCoord||(l.set(o,1),"ordinal"!==(n=i.type)&&"time"!==n&&(u[0]=e),s(c,o)[f]=t.getDimensionIndex(i.name)),i.defaultTooltip&&h.push(e)}r.f7.each((function(t,e){var n=s(a,e),r=i.otherDims[e];null!=r&&!1!==r&&(n[r]=i.name)}))}));var f=[],p={};l.each((function(t,e){var n=a[e];p[e]=n[0],f=f.concat(n)})),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=(0,i.UI)(f,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=p;var d=a.label;d&&d.length&&(u=d.slice());var g=a.tooltip;return g&&g.length?h=g.slice():h.length||(h=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=h,n.userOutput=new o(c,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},"244e":function(t,e,n){"use strict";n.d(e,{Dq:function(){return a},md:function(){return l},pY:function(){return u},Ss:function(){return h},Wd:function(){return c},JT:function(){return f},u7:function(){return p}});var i=n("NGbn");if(1223==n.j)var r=n("5MlX");if(1223==n.j)var o=n("ft5V");var a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function l(t){s(t).datasetMap=(0,r.kW)()}function u(t,e,n){var i={},o=c(e);if(!o||!t)return i;var a,l,u=[],h=[],f=e.ecModel,p=s(f).datasetMap,d=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.S6)(t,(function(e,n){var o=(0,r.Kn)(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,l=y(o)),i[o.name]=[]}));var g=p.get(d)||p.set(d,{categoryWayDim:l,valueWayDim:0});function v(t,e,n){for(var i=0;i=0||(h.push(t),(0,l.mf)(t)&&(t={install:t}),t.install(c))}},SjbA:function(t,e,n){"use strict";var i=n("89oy"),r=n("lHYj"),o=n("oA72"),a=n("OO99"),s=n("q7QC"),l=n("TMgx"),u=n("NGbn"),h=n("5MlX"),c=n("dTtd"),f=n("qNBa");function p(t){if(t){for(var e=[],n=0;n=0&&n.attr(b.oldLayoutSelect),(0,h.cq)(p,"emphasis")>=0&&n.attr(b.oldLayoutEmphasis)),(0,r.D)(n,u,e,l)}else if(n.attr(u),!(0,f.qA)(n).valueAnimation){var d=(0,h.pD)(n.style.opacity,1);n.style.opacity=0,(0,r.KZ)(n,{style:{opacity:d}},e,l)}if(b.oldLayout=u,n.states.select){var g=b.oldLayoutSelect={};_(g,u,x),_(g,n.states.select,x)}if(n.states.emphasis){var v=b.oldLayoutEmphasis={};_(v,u,x),_(v,n.states.emphasis,x)}(0,f.tD)(n,l,c,e,e)}if(i&&!i.ignore&&!i.invisible){a=(b=m(i)).oldLayout;var b,S={points:i.shape.points};a?(i.attr({shape:a}),(0,r.D)(i,{shape:S},e)):(i.setShape(S),i.style.strokePercent=0,(0,r.KZ)(i,{style:{strokePercent:1}},e)),b.oldLayout=S}},t}();e.Z=1223==n.j?b:null},"3J93":function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var i=n("NGbn");if(1223==n.j)var r=n("SjbA");var o=(0,i.Yf)();function a(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=o(e).labelManager;i||(i=o(e).labelManager=new r.Z),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=o(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}},TMgx:function(t,e,n){"use strict";n.d(e,{d:function(){return C},qK:function(){return P},_A:function(){return L},Iu:function(){return Z},$x:function(){return z}});var i=n("PBFU");if(1223==n.j)var r=n("vvKg");if(1223==n.j)var o=n("KvR3");var a=n("ZFBs");if(1223==n.j)var s=n("Dvii");if(1223==n.j)var l=n("Ng5v");if(1223==n.j)var u=n("5MlX");if(1223==n.j)var h=n("ftEC");if(1223==n.j)var c=n("SHa5");if(1223==n.j)var f=n("03Q3");var p=2*Math.PI,d=a.Z.CMD,g=1223==n.j?["top","right","bottom","left"]:null;function v(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function y(t,e,n,i,r,o,a,l,u){a-=t,l-=e;var h=Math.sqrt(a*a+l*l),c=(a/=h)*n+t,f=(l/=h)*n+e;if(Math.abs(i-r)%p<1e-4)return u[0]=c,u[1]=f,h-n;if(o){var d=i;i=(0,s.m)(r),r=(0,s.m)(d)}else i=(0,s.m)(i),r=(0,s.m)(r);i>r&&(r+=p);var g=Math.atan2(l,a);if(g<0&&(g+=p),g>=i&&g<=r||g+p>=i&&g+p<=r)return u[0]=c,u[1]=f,h-n;var v=n*Math.cos(i)+t,y=n*Math.sin(i)+e,m=n*Math.cos(r)+t,_=n*Math.sin(r)+e,x=(v-a)*(v-a)+(y-l)*(y-l),b=(m-a)*(m-a)+(_-l)*(_-l);return x0){e=e/180*Math.PI,w.fromArray(t[0]),M.fromArray(t[1]),T.fromArray(t[2]),i.Z.sub(k,w,M),i.Z.sub(I,T,M);var n=k.len(),r=I.len();if(!(n<.001||r<.001)){k.scale(1/n),I.scale(1/r);var o=k.dot(I);if(Math.cos(e)1&&i.Z.copy(A,T),A.toArray(t[1])}}}}function L(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,w.fromArray(t[0]),M.fromArray(t[1]),T.fromArray(t[2]),i.Z.sub(k,M,w),i.Z.sub(I,T,M);var r=k.len(),o=I.len();if(!(r<.001||o<.001))if(k.scale(1/r),I.scale(1/o),k.dot(e)=s)i.Z.copy(A,T);else{A.scaleAndAdd(I,a/Math.tan(Math.PI/2-l));var u=T.x!==M.x?(A.x-M.x)/(T.x-M.x):(A.y-M.y)/(T.y-M.y);if(isNaN(u))return;u<0?i.Z.copy(A,M):u>1&&i.Z.copy(A,T)}A.toArray(t[1])}}}function O(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function R(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=c.TK(i[0],i[1]),o=c.TK(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=c.t7([],i[1],i[0],a/r),l=c.t7([],i[1],i[2],a/o),u=c.t7([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&S(-c/a,0,a);var v,y,m=t[0],_=t[a-1];return x(),v<0&&w(-v,.8),y<0&&w(y,.8),x(),b(v,y,1),b(y,v,-1),x(),v<0&&M(-v),y<0&&M(y),u}function x(){v=m.rect[e]-i,y=r-_.rect[e]-_.rect[n]}function b(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){S(i*n,0,a);var r=i+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function S(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){S(-(o[l-1]*c),l,a)}}}function M(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?S(n,0,i+1):S(-n,a-i-1,a),(t-=n)<=0)return}}function s(t,e,n,i){return a(t,"x","width",e,n,i)}function l(t,e,n,i){return a(t,"y","height",e,n,i)}function u(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new r.Z(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(t),n=[];return i.S6(t,(function(t){var i,o=t.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=e[s],c=Math.abs(a[1]-a[0]),f=o.scale.getExtent(),p=Math.abs(f[1]-f[0]);i=l?c/p*l:c}else{var d=t.getData();i=Math.abs(a[1]-a[0])/d.count()}var g=(0,r.GM)(t.get("barWidth"),i),v=(0,r.GM)(t.get("barMaxWidth"),i),y=(0,r.GM)(t.get("barMinWidth")||1,i),m=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:g,barMaxWidth:v,barMinWidth:y,barGap:m,barCategoryGap:_,axisKey:h(o),stackId:u(t)})})),p(n)}function p(t){var e={};i.S6(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var f=t.barCategoryGap;null!=f&&(o.categoryGap=f)}));var n={};return i.S6(e,(function(t,e){n[e]={};var o=t.stacks,a=t.bandWidth,s=t.categoryGap;if(null==s){var l=i.XP(o).length;s=Math.max(35-4*l,15)+"%"}var u=(0,r.GM)(s,a),h=(0,r.GM)(t.gap,1),c=t.remainedWidth,f=t.autoWidthCount,p=(c-u)/(f+(f-1)*h);p=Math.max(p,0),i.S6(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+h*i,f--}else{var i=p;e&&ei&&(i=n),i!==p&&(t.width=i,c-=i+h*i,f--)}})),p=(c-u)/(f+(f-1)*h),p=Math.max(p,0);var d,g=0;i.S6(o,(function(t,e){t.width||(t.width=p),d=t,g+=t.width*(1+h)})),d&&(g-=d.width*h);var v=-g/2;i.S6(o,(function(t,i){n[e][i]=n[e][i]||{bandWidth:a,offset:v,width:t.width},v+=t.width*(1+h)}))})),n}function d(t,e,n){if(t&&e){var i=t[h(e)];return null!=i&&null!=n?i[u(n)]:i}}function g(t,e){var n=c(t,e),r=f(n),a={};i.S6(n,(function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),s=u(t),l=r[h(i)][s],c=l.offset,f=l.width,p=n.getOtherAxis(i),d=t.get("barMinHeight")||0;a[s]=a[s]||[],e.setLayout({bandWidth:l.bandWidth,offset:c,size:f});for(var g=e.mapDimension(p.dim),v=e.mapDimension(i.dim),y=(0,o.M)(e,g),m=p.isHorizontal(),x=_(i,p,y),b=e.getStore(),S=e.getDimensionIndex(g),w=e.getDimensionIndex(v),M=0,T=b.count();M=0?"p":"n",D=x;y&&(a[s][I]||(a[s][I]={p:x,n:x}),D=a[s][I][C]);var A,P=void 0,L=void 0,O=void 0,R=void 0;if(m)P=D,L=(A=n.dataToPoint([k,I]))[1]+c,O=A[0]-x,R=f,Math.abs(O).5||(c=.5),{progress:function(t,e){for(var f,p=t.count,d=new l(2*p),g=new l(2*p),v=new l(p),y=[],m=[],x=0,b=0,S=e.getStore();null!=(f=t.next());)m[h]=S.get(a,f),m[1-h]=S.get(s,f),y=n.dataToPoint(m,null),g[x]=u?i.x+i.width:y[0],d[x++]=y[0],g[x]=u?y[1]:i.y+i.height,d[x++]=y[1],v[b++]=f;e.setLayout({largePoints:d,largeDataIndices:v,largeBackgroundPoints:g,barWidth:c,valueAxisStart:_(r,o,!1),backgroundStart:u?i.x:i.y,valueAxisHorizontal:u})}}}}};function y(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function m(t){return t.pipelineContext&&t.pipelineContext.large}function _(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}},hSLL:function(t,e,n){"use strict";if(n.d(e,{Z:function(){return s}}),1223==n.j)var i=n("5MlX");if(1223==n.j)var r=n("LnhR");if(1223==n.j)var o=n("afcH");if(1223==n.j)var a=n("l/r9");function s(t,e){return{seriesType:t,plan:(0,r.Z)(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,s=t.pipelineContext,l=e||s.large;if(r){var u=(0,i.UI)(r.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),h=u.length,c=n.getCalculationInfo("stackResultDimension");(0,o.M)(n,u[0])&&(u[0]=c),(0,o.M)(n,u[1])&&(u[1]=c);var f=n.getStore(),p=n.getDimensionIndex(u[0]),d=n.getDimensionIndex(u[1]);return h&&{progress:function(t,e){for(var n=t.end-t.start,i=l&&(0,a.o)(n*h),o=[],s=[],u=t.start,c=0;u=0;l--)a=r.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return(0,l.HZ)(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(o.Z);(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,(function(t){var e=[];r.S6(c.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=r.UI(e,(function(t){return(0,s.u9)(t).main})),"dataset"!==t&&r.cq(e,"dataset")<=0&&e.unshift("dataset");return e})),e.Z=1223==n.j?c:null},"hY/y":function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var i=n("/iMr"),r=n("Lkdn"),o=(0,n("pYLy").Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n("qNBa"),l=n("MN9j"),u=["textStyle","color"],h=new l.ZP,c=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){return h.useStyle({text:t,fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily"),verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline"),padding:this.getShallow("padding"),lineHeight:this.getShallow("lineHeight"),rich:this.getShallow("rich")}),h.update(),h.getBoundingRect()},t}(),f=n("AGCk"),p=n("7f8C"),d=n("5MlX"),g=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),o=!!i.length;if(x(n)){var a=n,s=void 0,l=void 0,u=void 0;if(o){var h=i[0];h.prepareSource(),s=(u=h.getSource()).data,l=u.sourceFormat,e=[h._getVersionSign()]}else s=a.get("data",!0),l=(0,r.fU)(s)?d.J5:d.cy,e=[];var c=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},g=(0,r.pD)(c.seriesLayoutBy,f.seriesLayoutBy)||null,v=(0,r.pD)(c.sourceHeader,f.sourceHeader)||null,y=(0,r.pD)(c.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!v!==!!f.sourceHeader||y?[(0,p._P)(s,{seriesLayoutBy:g,sourceHeader:v,dimensions:y},l)]:[]}else{var m=n;if(o){var _=this._applyTransform(i);t=_.sourceList,e=_.upstreamSignList}else{var b=m.get("source",!0);t=[(0,p._P)(b,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){1!==t.length&&b("")}var a=[],s=[];return(0,r.S6)(t,(function(t){t.prepareSource();var e=t.getSource(o||0);null==o||e||b(""),a.push(e),s.push(t._getVersionSign())})),i?e=(0,v.vK)(i,a,{datasetIndex:n.componentIndex}):null!=o&&(e=[(0,p.ML)(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||d&&!f){var v=function(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,(function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,S.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.S6)(i,(function(t){c((0,m.hk)(a,n,t),t)})):(0,r.S6)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}(p,s,l,c,g);e=v.inlineValues,n=v.inlineValueTypes,i=v.blocks,o=v.inlineValues[0]}else if(f){var y=h.getDimensionInfo(c[0]);o=e=(0,m.hk)(h,l,c[0]),n=y.type}else o=e=d?p[0]:p;var _=(0,a.yu)(s),x=_&&s.name||"",b=h.getName(l),w=u?x:b;return(0,S.TX)("section",{header:x,noHeader:u||!_,sortParam:o,blocks:[(0,S.TX)("nameValue",{markerType:"item",markerColor:g,name:w,noName:!(0,r.fy)(w),value:e,valueType:n})].concat(i||[])})}var M=a.Yf();function T(t,e){return t.getName(e)||t.getId(e)}var k="__universalTransitionEnabled",I=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:D,reset:A}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(M(this).sourceManager=new _(this)).prepareSource();var i=this.getInitialData(t,n);L(i,this),this.dataTask.context.data=i,M(this).dataBeforeProcessed=i,C(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},e.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=M(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);L(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,M(this).dataBeforeProcessed=o,C(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l._.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n)for(var i=this.getData(e),r=0;r=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;return n&&n[T(this.getData(e),t)]||!1},e.prototype.isUniversalTransitionEnabled=function(){if(this[k])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option.selectedMode,o=e.length;if(r&&o)if("multiple"===r)for(var a=this.option.selectedMap||(this.option.selectedMap={}),s=0;s0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s.Z.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s.Z);function C(t){var e=t.name;a.yu(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return r.S6(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function D(t){return t.model.getRawData().count()}function A(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),P}function P(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function L(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,r.WA(O,e))}))}function O(t,e){var n=R(t);return n&&n.setOutputEnd((e||this).count()),e}function R(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.jB(I,u.X),r.jB(I,l._),(0,f.pw)(I,s.Z);var Z=I},xWWy:function(t,e,n){"use strict";n.d(e,{X:function(){return s},f:function(){return l}});var i=n("5MlX"),r=n("LPjg"),o=n("az88"),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,f=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);(u&&(c.value=u.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),l)||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return"function"===typeof l?(c.status=e,c.dimensionIndex=s,l(c)):"string"===typeof l?(0,o.kF)(l,c).replace(a,(function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(u&&i.kJ(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}},"7f8C":function(t,e,n){"use strict";n.d(e,{t:function(){return r},D:function(){return a}});var i=n("pYLy"),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},AGCk:function(t,e,n){"use strict";n.d(e,{v:function(){return r},K:function(){return a}});var i=n("pYLy"),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},pYLy:function(t,e,n){"use strict";if(n.d(e,{Z:function(){return r}}),1223==n.j)var i=n("5MlX");function r(t,e){for(var n=0;n=0||o&&i.cq(o,l)<0)){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},tTKH:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var i=n("NGbn"),r=(0,i.Yf)(),o=((0,i.Yf)(),function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=(0,i.kF)(this.get("color",!0)),s=this.get("colorLayer",!0);return a(this,r,o,s,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=r)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}());function a(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;ie)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}},"Rc+f":function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var i=n("5MlX"),r=n("NGbn"),o=function(t){this.coordSysDims=[],this.axisMap=(0,i.kW)(),this.categoryAxisMap=(0,i.kW)(),this.coordSysName=t};function a(t){var e=t.get("coordinateSystem"),n=new o(e),i=s[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var s={cartesian2d:function(t,e,n,i){var o=t.getReferringComponents("xAxis",r.C6).models[0],a=t.getReferringComponents("yAxis",r.C6).models[0];e.coordSysDims=["x","y"],n.set("x",o),n.set("y",a),l(o)&&(i.set("x",o),e.firstCategoryDimIndex=0),l(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var o=t.getReferringComponents("singleAxis",r.C6).models[0];e.coordSysDims=["single"],n.set("single",o),l(o)&&(i.set("single",o),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var o=t.getReferringComponents("polar",r.C6).models[0],a=o.findAxisModel("radiusAxis"),s=o.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",s),l(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),l(s)&&(i.set("angle",s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.S6)(a.parallelAxisIndex,(function(t,i){var a=o.getComponent("parallelAxis",t),u=s[i];n.set(u,a),l(a)&&(r.set(u,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))}))}};function l(t){return"category"===t.get("type")}},OKSz:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var i=n("5MlX");if(1223==n.j)var r=n("NGbn");var o=i.S6,a=i.Kn,s=1223==n.j?["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"]:null;function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=s.length;ne&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===s.type&&a){var u=s.getBaseAxis(),h=s.getOtherAxis(u),c=u.getExtent(),f=n.getDevicePixelRatio(),p=Math.abs(c[1]-c[0])*(f||1),d=Math.round(l/p);if(d>1){"lttb"===a&&t.setData(o.lttbDownSample(o.mapDimension(h.dim),1/d));var g=void 0;"string"===typeof a?g=i[a]:"function"===typeof a&&(g=a),g&&t.setData(o.downSample(o.mapDimension(h.dim),1/d,g,r))}}}}}},oX5k:function(t,e,n){"use strict";function i(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!("number"===typeof i&&!isNaN(i)&&i<0)}))}}}n.d(e,{Z:function(){return i}})},"tX+b":function(t,e,n){"use strict";if(n.d(e,{N:function(){return r}}),1223==n.j)var i=n("2fLb");function r(t){t.registerPainter("canvas",i.Z)}},"8NEr":function(t,e,n){"use strict";var i=n("eRfh"),r=n("OO99"),o=n("az88"),a=n("1kmQ"),s=n("K5Gb"),l=r.NM,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,i.ZT)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.lb(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:l(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&c0;)i*=10;var r=[a.NM(p(e[0]/i)*i),a.NM(f(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.niceExtent=function(t){h.niceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=g(t)/g(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=g(t)/g(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),d(this.base,t)},e.type="log",e}(o.Z),y=v.prototype;function m(t,e){return c(t,a.p8(e))}y.getMinorTicks=h.getMinorTicks,y.getLabel=h.getLabel,o.Z.registerClass(v),e.Z=1223==n.j?v:null},Ehgg:function(t,e,n){"use strict";var i=n("eRfh"),r=n("1kmQ"),o=n("BJ00"),a=n("K5Gb"),s=n("5MlX"),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new o.Z({})),(0,s.kJ)(i)&&(i=new o.Z({categories:(0,s.UI)(i,(function(t){return(0,s.Kn)(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return(0,i.ZT)(e,t),e.prototype.parse=function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),a.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),a.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(a.bA(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(r.Z);r.Z.registerClass(l),e.Z=1223==n.j?l:null},"1kmQ":function(t,e,n){"use strict";var i=n("Lkdn"),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.au(r),e.Z=1223==n.j?r:null},xTCO:function(t,e,n){"use strict";var i=n("eRfh"),r=n("OO99"),o=n("reH+"),a=n("K5Gb"),s=n("8NEr"),l=n("1kmQ"),u=n("5MlX"),h=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,i.ZT)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,o.WU)(t.value,o.V8[(0,o.xC)((0,o.Tj)(this._minLevelUnit))]||o.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,o.k7)(t,e,n,r,i)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=[];if(!e)return i;i.push({value:n[0],level:0});var a=this.getSetting("useUTC"),s=function(t,e,n,i){var a=1e4,s=o.FW,l=0;function h(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u1&&0===c&&s.unshift({value:s[0].value-x})}}for(c=0;c=i[0]&&k<=i[1]&&x++)}var I=(i[1]-i[0])/e;if(x>1.5*I&&b>I/1.5)break;if(m.push(M),x>I||t===s[S])break}_=[]}}0;var C=(0,u.hX)((0,u.UI)(m,(function(t){return(0,u.hX)(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),D=[],A=C.length-1;for(S=0;Sn&&(this._approxInterval=n);var o=c.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function p(t){return(t/=30*o.s2)>6?6:t>3?3:t>2?2:1}function d(t){return(t/=o.dV)>12?12:t>6?6:t>3.5?4:t>2?2:1}function g(t,e){return(t/=e?o.yR:o.WT)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function v(t){return r.kx(t,!0)}function y(t,e,n){var i=new Date(t);switch((0,o.Tj)(e)){case"year":case"month":i[(0,o.vh)(n)](0);case"day":i[(0,o.f5)(n)](1);case"hour":i[(0,o.En)(n)](0);case"minute":i[(0,o.eN)(n)](0);case"second":i[(0,o.rM)(n)](0),i[(0,o.cb)(n)](0)}return i.getTime()}l.Z.registerClass(h),e.Z=1223==n.j?h:null},K5Gb:function(t,e,n){"use strict";n.d(e,{Qf:function(){return o},lb:function(){return a},XS:function(){return l},Fv:function(){return u},bA:function(){return h}});var i=n("OO99"),r=i.NM;function o(t,e,n,o){var l={},u=t[1]-t[0],h=l.interval=i.kx(u/e,!0);null!=n&&ho&&(h=l.interval=o);var c=l.intervalPrecision=a(h);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(l.niceTickExtent=[r(Math.ceil(t[0]/h)*h,c),r(Math.floor(t[1]/h)*h,c)],t),l}function a(t){return i.p8(t)+2}function s(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){return t>=e[0]&&t<=e[1]}function u(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function h(t,e){return t*(e[1]-e[0])+e[0]}},Lkdn:function(t,e,n){"use strict";if(n.d(e,{u9:function(){return s},PT:function(){return l},dm:function(){return u},pw:function(){return c},Qj:function(){return p},au:function(){return v}}),1223==n.j)var i=n("eRfh");if(1223==n.j)var r=n("5MlX");var o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!(!t||!t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e=this;function n(){for(var o=[],a=0;a=0&&n.push(t)})),n}(s.originalDeps=e(a),t);s.entryCount=l.length,0===s.entryCount&&o.push(a),i.S6(l,(function(t){i.cq(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(r,t);i.cq(e.successor,t)<0&&e.successor.push(a)}))})),{graph:r,noEntryList:o}}(r),l=s.graph,u=s.noEntryList,h={};for(i.S6(t,(function(t){h[t]=!0}));u.length;){var c=u.pop(),f=l[c],p=!!h[c];p&&(o.call(a,c,f.originalDeps.slice()),delete h[c]),i.S6(f.successor,p?g:d)}i.S6(h,(function(){throw new Error("")}))}function d(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,d(t)}}}function u(t,e){return i.TS(i.TS({},t,!0),e,!0)}},jb6w:function(t,e,n){"use strict";n.d(e,{I:function(){return d}});var i=Math.round(9*Math.random()),r="function"===typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n("ofzl"),s=n("5MlX"),l=n("OO99"),u=n("Y2yF"),h=n("co6Z"),c=new o,f=new a.ZP(100),p=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function d(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&c.delete(t);var o=c.get(t);if(o)return o;var a=(0,s.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var d={repeat:"repeat"};return function(t){for(var e,o=[n],c=!0,d=0;d1?"."+e[1]:"")}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=i.MY,u=/([&<>"'])/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"};function c(t){return null==t?"":(t+"").replace(u,(function(t,e){return h[e]}))}function f(t,e,n){function s(t){return t&&i.fy(t)?t:"-"}function l(t){return!(null==t||isNaN(t)||!isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,r.sG)(t):t;if(!isNaN(+c))return(0,o.WU)(c,"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return i.cd(t)?s(t):i.hj(t)&&l(t)?t+"":"-";var f=(0,r.FK)(t);return l(f)?a(f):i.cd(t)?s(t):"boolean"===typeof t?t+"":"-"}var p=1223==n.j?["a","b","c","d","e","f","g"]:null,d=function(t,e){return"{"+t+(null==e?"":e)+"}"};function g(t,e,n){i.kJ(e)||(e=[e]);var r=e.length;if(!r)return"";for(var o=e[0].$vars||[],a=0;a':'':{renderMode:a,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===o?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}function y(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}},eGeF:function(t,e,n){"use strict";n.r(e),n.d(e,{Arc:function(){return w.Z},BezierCurve:function(){return S.Z},BoundingRect:function(){return I.Z},Circle:function(){return c.Z},CompoundPath:function(){return M.Z},Ellipse:function(){return f.Z},Group:function(){return u.Z},Image:function(){return l.ZP},IncrementalDisplayable:function(){return A.Z},Line:function(){return b.Z},LinearGradient:function(){return T.Z},OrientedBoundingRect:function(){return C.Z},Path:function(){return a.ZP},Point:function(){return D.Z},Polygon:function(){return m.Z},Polyline:function(){return _.Z},RadialGradient:function(){return k.Z},Rect:function(){return x.Z},Ring:function(){return y},Sector:function(){return p.C},Text:function(){return h.ZP},applyTransform:function(){return Q},clipPointsByRect:function(){return nt},clipRectByRect:function(){return it},createIcon:function(){return rt},extendPath:function(){return E},extendShape:function(){return B},getShapeClass:function(){return j},getTransform:function(){return J},groupTransition:function(){return et},initProps:function(){return R.KZ},isElementRemoved:function(){return R.eq},lineLineIntersect:function(){return at},linePolygonIntersect:function(){return ot},makeImage:function(){return G},makePath:function(){return H},mergePath:function(){return W},registerShape:function(){return V},removeElement:function(){return R.bX},removeElementWithFadeOut:function(){return R.XD},resizePath:function(){return U},setTooltipConfig:function(){return lt},subPixelOptimize:function(){return K},subPixelOptimizeLine:function(){return Y},subPixelOptimizeRect:function(){return q},transformDirection:function(){return $},updateProps:function(){return R.D}});var i=n("6SfJ"),r=n("ftEC"),o=n("SHa5"),a=n("vvKg"),s=n("q7QC"),l=n("KSMq"),u=n("MeQD"),h=n("MN9j"),c=n("GVbO"),f=n("Ke4J"),p=n("Uoh4"),d=n("eRfh"),g=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},v=function(t){function e(e){return t.call(this,e)||this}return(0,d.ZT)(e,t),e.prototype.getDefaultShape=function(){return new g},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(a.ZP);v.prototype.type="ring";var y=v,m=n("5Uxi"),_=n("KvR3"),x=n("J2q9"),b=n("wrin"),S=n("cipt"),w=n("03ZD"),M=n("IZY2"),T=n("pYlR"),k=n("JEKY"),I=n("89oy"),C=n("7b5S"),D=n("PBFU"),A=n("qwaZ"),P=n("5a7W"),L=n("5MlX"),O=n("oA72"),R=n("lHYj"),Z=Math.max,z=Math.min,N={};function B(t){return a.ZP.extend(t)}var F=i.Pc;function E(t,e){return F(t,e)}function V(t,e){N[t]=e}function j(t){if(N.hasOwnProperty(t))return N[t]}function H(t,e,n,r){var o=i.iR(t,e);return n&&("center"===r&&(n=X(n,o.getBoundingRect())),U(o,n)),o}function G(t,e,n){var i=new l.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(X(e,r))}}});return i}function X(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var W=i.AA;function U(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function Y(t){return P._3(t.shape,t.shape,t.style),t}function q(t){return P.Pw(t.shape,t.shape,t.style),t}var K=P.vu;function J(t,e){for(var n=r.yR([]);t&&t!==e;)r.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function Q(t,e,n){return e&&!(0,L.zG)(e)&&(e=s.Z.getLocalTransform(e)),n&&(e=r.U_([],e)),o.Ne([],t,e)}function $(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Q(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tt(t){return!t.isGroup}function et(t,e,n){if(t&&e){var i=function(t){var e={};return t.traverse((function(t){tt(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(tt(t)&&t.anid){var e=i[t.anid];if(e){var o=r(t);t.attr(r(e)),(0,R.D)(t,o,n,(0,O.A)(t).dataIndex)}}}))}function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=(0,L.l7)({},t.shape)),e}}function nt(t,e){return(0,L.UI)(t,(function(t){var n=t[0];n=Z(n,e.x),n=z(n,e.x+e.width);var i=t[1];return i=Z(i,e.y),[n,i=z(i,e.y+e.height)]}))}function it(t,e){var n=Z(t.x,e.x),i=z(t.x+t.width,e.x+e.width),r=Z(t.y,e.y),o=z(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function rt(t,e,n){var i=(0,L.l7)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,L.ce)(r,n),new l.ZP(i)):H(t.replace("path://",""),i,n,"center")}function ot(t,e,n,i,r){for(var o=0,a=r[r.length-1];o=-1e-6)return!1;var d=t-r,g=e-o,v=st(d,g,u,h)/p;if(v<0||v>1)return!1;var y=st(d,g,c,f)/p;return!(y<0||y>1)}function st(t,e,n,i){return t*i-n*e}function lt(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,L.HD)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,L.S6)((0,L.XP)(l),(function(t){(0,L.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=(0,O.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,L.ce)({content:i,formatterParams:s},r)}}V("circle",c.Z),V("ellipse",f.Z),V("sector",p.C),V("ring",y),V("polygon",m.Z),V("polyline",_.Z),V("rect",x.Z),V("line",b.Z),V("bezierCurve",S.Z),V("arc",w.Z)},oA72:function(t,e,n){"use strict";n.d(e,{A:function(){return i},Q:function(){return r}});var i=(0,n("NGbn").Yf)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,"group"===r.type&&r.traverse((function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e}))}}},IBYA:function(t,e,n){"use strict";n.d(e,{BZ:function(){return c},ME:function(){return f},p$:function(){return p},YD:function(){return d},dt:function(){return g},tE:function(){return v}});var i=n("5MlX");if(1223==n.j)var r=n("89oy");if(1223==n.j)var o=n("OO99");if(1223==n.j)var a=n("az88");var s=i.S6,l=1223==n.j?["left","right","top","bottom","width","height"]:null,u=1223==n.j?[["width","left","right"],["height","top","bottom"]]:null;function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,f=l.getBoundingRect(),p=e.childAt(u+1),d=p&&p.getBoundingRect();if("horizontal"===t){var g=f.width+(d?-d.x+f.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(d?-d.y+f.y:0);(c=a+v)>r||l.newline?(o+=s+n,a=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var c=1223==n.j?h:null;i.WA(h,"vertical"),i.WA(h,"horizontal");function f(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,l=(0,o.GM)(t.left,i),u=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),f=(0,o.GM)(t.width,i),p=(0,o.GM)(t.height,s),d=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=i-h-g-l),isNaN(p)&&(p=s-c-d-u),null!=v&&(isNaN(f)&&isNaN(p)&&(v>i/s?f=.8*i:p=.8*s),isNaN(f)&&(f=v*p),isNaN(p)&&(p=f/v)),isNaN(l)&&(l=i-h-f-g),isNaN(u)&&(u=s-c-p-d),t.left||t.right){case"center":l=i/2-f/2-n[3];break;case"right":l=i-f-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-n[0];break;case"bottom":u=s-p-d}l=l||0,u=u||0,isNaN(f)&&(f=i-g-l-(h||0)),isNaN(p)&&(p=s-d-u-(c||0));var y=new r.Z(l+n[3],u+n[0],f,p);return y.margin=n,y}function p(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new r.Z(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(h=h.clone()).applyTransform(c)}var p=f(i.ce({width:h.width,height:h.height},e),n,o),d=s?p.x-h.x:0,g=l?p.y-h.y:0;"raw"===u?(t.x=d,t.y=g):(t.x+=d,t.y+=g),t.markRedraw()}}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function g(t,e,n){var r=n&&n.ignoreSize;!i.kJ(r)&&(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++})),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&a){if(a>=2)return o;for(var f=0;f0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function a(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"===typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function s(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function l(t){return t.sort((function(t,e){return t-e})),t}function u(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function h(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function c(t,e,n){if(!t[e])return 0;var r=i.u4(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var o=Math.pow(10,n),a=i.UI(t,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=i.UI(a,(function(t){return Math.floor(t)})),u=i.u4(l,(function(t,e){return t+e}),0),h=i.UI(a,(function(t,e){return t-l[e]}));uc&&(c=h[p],f=p);++l[f],h[f]=0,++u}return l[e]/o}function f(t,e){var n=Math.max(u(t),u(e)),i=t+e;return n>20?i:s(i,n)}function p(t){var e=2*Math.PI;return(t%e+e)%e}function d(t){return t>-1e-4&&t=10&&e++,e}function _(t,e){var n=m(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function x(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0,a=!1;if(t instanceof l.ZP){var s=c(t),u=o&&s.selectFill||s.normalFill,h=o&&s.selectStroke||s.normalStroke;if(b(u)||b(h)){var f=(i=i||{}).style||{};"inherit"===f.fill?(a=!0,i=(0,r.l7)({},i),(f=(0,r.l7)({},f)).fill=u):!b(f.fill)&&b(u)?(a=!0,i=(0,r.l7)({},i),(f=(0,r.l7)({},f)).fill=w(u)):!b(f.stroke)&&b(h)&&(a||(i=(0,r.l7)({},i),f=(0,r.l7)({},f)),f.stroke=w(h)),i.style=f}}if(i&&null==i.z2){a||(i=(0,r.l7)({},i));var p=t.z2EmphasisLift;i.z2=t.z2+(null!=p?p:10)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=(0,r.cq)(t.currentStates,e)>=0,o=t.style.opacity,a=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function et(t,e,n){ot(t,!0),L(t,Z),function(t,e,n){var i=(0,o.A)(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}(t,e,n)}var nt=1223==n.j?["emphasis","blur","select"]:null,it={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function rt(t,e,n,i){n=n||"itemStyle";for(var r=0;r=0?c():h=setTimeout(c,-r),l=i};return f.clear=function(){h&&(clearTimeout(h),h=null)},f.debounceNextCall=function(t){s=t},f}function s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[r]!==n||h!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}}},"reH+":function(t,e,n){"use strict";if(n.d(e,{WT:function(){return s},yR:function(){return l},dV:function(){return u},s2:function(){return h},P5:function(){return c},V8:function(){return d},FW:function(){return v},Tj:function(){return m},$K:function(){return _},xC:function(){return x},WU:function(){return b},k7:function(){return S},q5:function(){return M},sx:function(){return T},CW:function(){return k},xz:function(){return I},Wp:function(){return C},fn:function(){return D},MV:function(){return A},RZ:function(){return P},xL:function(){return L},vh:function(){return O},f5:function(){return R},En:function(){return Z},eN:function(){return z},rM:function(){return N},cb:function(){return B}}),1223==n.j)var i=n("5MlX");if(1223==n.j)var r=n("OO99");if(1223==n.j)var o=n("S12o");if(1223==n.j)var a=n("hY/y");var s=1e3,l=60*s,u=60*l,h=24*u,c=365*h,f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},p="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:p,hour:"{yyyy}-{MM}-{dd} "+f.hour,minute:"{yyyy}-{MM}-{dd} "+f.minute,second:"{yyyy}-{MM}-{dd} "+f.second,millisecond:f.none},g=1223==n.j?["year","month","day","hour","minute","second","millisecond"]:null,v=1223==n.j?["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"]:null;function y(t,e){return"0000".substr(0,e-(t+="").length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function b(t,e,n,i){var s=r.sG(t),l=s[T(n)](),u=s[k(n)]()+1,h=Math.floor((u-1)/4)+1,c=s[I(n)](),f=s["get"+(n?"UTC":"")+"Day"](),p=s[C(n)](),d=(p-1)%12+1,g=s[D(n)](),v=s[A(n)](),m=s[P(n)](),_=(i instanceof a.Z?i:(0,o.G8)(i||o.sO)||(0,o.Li)()).getModel("time"),x=_.get("month"),b=_.get("monthAbbr"),S=_.get("dayOfWeek"),w=_.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,h+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,b[u-1]).replace(/{MM}/g,y(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,y(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,S[f]).replace(/{ee}/g,w[f]).replace(/{e}/g,f+"").replace(/{HH}/g,y(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,y(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,y(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,y(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,y(m,3)).replace(/{S}/g,m+"")}function S(t,e,n,r,o){var a=null;if("string"===typeof n)a=n;else if("function"===typeof n)a=n(t.value,e,{level:t.level});else{var s=i.l7({},f);if(t.level>0)for(var l=0;l=0;--l)if(u[h]){a=u[h];break}a=a||s.none}if(i.kJ(a)){var c=null==t.level?0:t.level>=0?t.level:a.length+t.level;a=a[c=Math.min(c,a.length-1)]}}return b(new Date(t.value),a,o,r)}function w(t,e){var n=r.sG(t),i=n[k(e)]()+1,o=n[I(e)](),a=n[C(e)](),s=n[D(e)](),l=n[A(e)](),u=0===n[P(e)](),h=u&&0===l,c=h&&0===s,f=c&&0===a,p=f&&1===o;return p&&1===i?"year":p?"month":f?"day":c?"hour":h?"minute":u?"second":"millisecond"}function M(t,e,n){var i="number"===typeof t?r.sG(t):t;switch(e=e||w(t,n)){case"year":return i[T(n)]();case"half-year":return i[k(n)]()>=6?1:0;case"quarter":return Math.floor((i[k(n)]()+1)/4);case"month":return i[k(n)]();case"day":return i[I(n)]();case"half-day":return i[C(n)]()/24;case"hour":return i[C(n)]();case"minute":return i[D(n)]();case"second":return i[A(n)]();case"millisecond":return i[P(n)]()}}function T(t){return t?"getUTCFullYear":"getFullYear"}function k(t){return t?"getUTCMonth":"getMonth"}function I(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function D(t){return t?"getUTCMinutes":"getMinutes"}function A(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function L(t){return t?"setUTCFullYear":"setFullYear"}function O(t){return t?"setUTCMonth":"setMonth"}function R(t){return t?"setUTCDate":"setDate"}function Z(t){return t?"setUTCHours":"setHours"}function z(t){return t?"setUTCMinutes":"setMinutes"}function N(t){return t?"setUTCSeconds":"setSeconds"}function B(t){return t?"setUTCMilliseconds":"setMilliseconds"}},ft5V:function(t,e,n){"use strict";n.d(e,{f7:function(){return i},cy:function(){return r},XD:function(){return o},qb:function(){return a},hL:function(){return s},J5:function(){return l},RA:function(){return u},fY:function(){return h},Wc:function(){return c}});var i=(0,n("5MlX").kW)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},"l/r9":function(t,e,n){"use strict";if(n.d(e,{o:function(){return a}}),1223==n.j)var i=n("5MlX");var r="undefined"!==typeof Float32Array,o=r?Float32Array:Array;function a(t){return(0,i.kJ)(t)?r?new Float32Array(t):t:new o(t)}},TaYd:function(t,e,n){"use strict";var i=n("5MlX"),r=n("MeQD"),o=n("BU6F"),a=n("Lkdn"),s=n("NGbn"),l=n("03Q3"),u=n("wZmF"),h=n("LnhR"),c=s.Yf(),f=(0,h.Z)(),p=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:v,reset:y}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){g(t.getData(),i,"emphasis")},t.prototype.downplay=function(t,e,n,i){g(t.getData(),i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.markUpdateMethod=function(t,e){c(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function d(t,e,n){t&&("emphasis"===e?l.fD:l.Mh)(t,n)}function g(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),(function(e){d(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){d(t,n,o)}))}function v(t){return f(t.model)}function y(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&c(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),m[l]}a.dm(p,["dispose"]),a.au(p);var m={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e.Z=1223==n.j?p:null},CGQi:function(t,e,n){"use strict";var i=n("MeQD"),r=n("BU6F"),o=n("Lkdn"),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.blurSeries=function(t,e){},t}();o.dm(a),o.au(a),e.Z=1223==n.j?a:null},j3fR:function(t,e,n){"use strict";var i=n("5MlX"),r=n("eFAM"),o=n("OO99"),a=i.S6,s=i.Kn,l=-1,u=function(){function t(e){var n=e.mappingMethod,r=e.type,o=this.option=i.d9(e);this.type=r,this.mappingMethod=n,this._normalizeData=_[n];var s=t.visualHandlers[r];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._normalizedToVisual=s._normalizedToVisual[n],"piecewise"===n?(h(o),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,i.S6(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(o)):"category"===n?o.categories?function(t){var e=t.categories,n=t.categoryMap={},r=t.visual;if(a(e,(function(t,e){n[t]=e})),!i.kJ(r)){var o=[];i.Kn(r)?a(r,(function(t,e){var i=n[e];o[null!=i?i:l]=t})):o[-1]=r,r=m(t,o)}for(var s=e.length-1;s>=0;s--)null==r[s]&&(delete n[e[s]],e.pop())}(o):h(o,!0):(i.hu("linear"!==n||o.dataExtent),h(o))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return i.ak(this._normalizeData,this)},t.listVisualTypes=function(){return i.XP(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){i.Kn(t)?i.S6(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,r){var o,a=i.kJ(e)?[]:i.Kn(e)?{}:(o=!0,null);return t.eachVisual(e,(function(t,e){var i=n.call(r,t,e);o?a=i:a[e]=i})),a},t.retrieveVisuals=function(e){var n,i={};return e&&a(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(i.kJ(t))t=t.slice();else{if(!s(t))return[];var e=[];a(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o=0:n.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,b=void 0,S=void 0;m&&this.canBeInsideText()?(x=n.insideFill,b=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=b&&"auto"!==b||(b=this.getInsideTextStroke(x),S=!0)):(x=n.outsideFill,b=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=b&&"auto"!==b||(b=this.getOutsideStroke(x),S=!0)),(x=x||"#000")===_.fill&&b===_.stroke&&S===_.autoStroke&&o===_.align&&a===_.verticalAlign||(l=!0,_.fill=x,_.stroke=b,_.autoStroke=S,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),e.__dirty|=f.YV,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&(0,h.Qc)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,(0,h.Pz)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.l7)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if((0,l.Kn)(t))for(var n=t,i=(0,l.XP)(n),r=0;r0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(p,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===p;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!((0,l.cq)(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var u=!!(s&&s.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var h=this._textContent,c=this._textGuide;return h&&h.useState(t,e,n,u),c&&c.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~f.YV),s}(0,l.H)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var g=this._textContent,v=this._textGuide;g&&g.useStates(t,e,c),v&&v.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~f.YV)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.cq)(i,t),o=(0,l.cq)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o8)&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function _(t,e,n,i,r){var o=[];S(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,h=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},c=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var f=0;f0||o.force&&!s.length){for(var x=t.animators,w=[],M=0;Ma)i.length=a;else for(var s=o;s=2&&this.interpolable&&this.maxTime>0},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,i=n.length;if(this.interpolable)if((0,l.zG)(e)){var r=function(t){return(0,l.zG)(t&&t[0])?2:1}(e);if(i>0&&this.arrDim!==r)return void(this.interpolable=!1);if(1===r&&"number"!==typeof e[0]||2===r&&"number"!==typeof e[0][0])return void(this.interpolable=!1);if(i>0){var o=n[i-1];this._isAllValueEqual&&(1===r&&g(e,o.value)||(this._isAllValueEqual=!1))}this.arrDim=r}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"===typeof e){var a=s.Qc(e);a?(e=a,this.isValueColor=!0):this.interpolable=!1}else if("number"!==typeof e||isNaN(e))return void(this.interpolable=!1);if(this._isAllValueEqual&&i>0){o=n[i-1];(this.isValueColor&&!g(o.value,e)||o.value!==e)&&(this._isAllValueEqual=!1)}}var u={time:t,value:e,percent:0};return this.keyframes.push(u),u},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,i=e.length,r=e[i-1],o=0;o0&&o!==i-1&&d(e[o].value,r.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var a=e[0].value;for(o=0;o=0&&!(o[n].percent<=e);n--);n=Math.min(n,a-2)}else{for(n=this._lastFrame;ne);n++);n=Math.min(n-1,a-2)}var f=o[n+1],p=o[n];if(p&&f){this._lastFrame=n,this._lastFramePercent=e;var d=f.percent-p.percent;if(0!==d){var g=(e-p.percent)/d,m=i?this._additiveValue:u?x:t[s];if((l>0||u)&&!m&&(m=this._additiveValue=[]),this.useSpline){var b=o[n][r],S=o[0===n?n:n-1][r],w=o[n>a-2?a-1:n+1][r],M=o[n>a-3?a-1:n+2][r];if(l>0)1===l?y(m,S,b,w,M,g,g*g,g*g*g):function(t,e,n,i,r,o,a,s){for(var l=e.length,u=e[0].length,h=0;h0)1===l?c(m,p[r],f[r],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a.5?e:t}(p[r],f[r],g),i?this._additiveValue=T:t[s]=T}i&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,i=this._additiveValue;0===e?this.isValueColor?(s.Qc(t[n],x),f(x,x,i,1),t[n]=_(x)):t[n]=t[n]+i:1===e?f(t[n],t[n],i,1):2===e&&p(t[n],t[n],i,1)},t}(),S=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?(0,l.H)("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,(0,l.XP)(e))},t.prototype.whenWithKeys=function(t,e,n){for(var i=this._tracks,r=0;r0)){this._started=1;for(var n=this,i=[],r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(r.getAdditiveTrack())}}}},t}(),w=S},lNlQ:function(t,e,n){"use strict";var i;i="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e.Z=1223==n.j?i:null},"2fLb":function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var i=n("fA56"),r=n("5MlX"),o=n("eRfh"),a=n("hq4F"),s=n("+TBA"),l=n("co6Z"),u=n("89oy"),h=n("F5VV");function c(){return!1}function f(t,e,n){var i=r.vL(),o=e.getWidth(),a=e.getHeight(),s=i.style;return s&&(s.position="absolute",s.left="0",s.top="0",s.width=o+"px",s.height=a+"px",i.setAttribute("data-zr-dom-id",t)),i.width=o*n,i.height=a*n,i}var p=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.KL,"string"===typeof e?a=f(e,n,o):r.Kn(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(a.onselectstart=c,l.webkitUserSelect="none",l.userSelect="none",l.webkitTapHighlightColor="rgba(0,0,0,0)",l["-webkit-touch-callout"]="none",l.padding="0",l.margin="0",l.borderWidth="0"),s.domBack=null,s.ctxBack=null,s.painter=n,s.config=null,s.dpr=o,s}return(0,o.ZT)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.Z(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new u.Z(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,h=0;h=a)}}for(var f=this.__startIndex;f15)break}n.prevElClipPaths&&u.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var x=p.dpr,b=0;b0&&t>i[0]){for(l=0;lt);l++);s=n[i[l]]}if(i.splice(l+1,0,t),n[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?a.insertBefore(e.dom,u.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}else r.H("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?_:0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,e(o),a=c),l.__dirty&h.YV&&!l.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,r.S6(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[t]=e;for(var i=0;i0))}function y(t){return"string"===typeof t&&"none"!==t}function m(t){var e=t.fill;return null!=e&&"none"!==e}function _(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function x(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function b(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r.setTransform){var a=new DOMMatrix;a.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),a.scaleSelf(e.scaleX||1,e.scaleY||1),a.translateSelf(e.x||0,e.y||0),r.setTransform(a)}return r}}var S=1223==n.j?["shadowBlur","shadowOffsetX","shadowOffsetY"]:null,w=1223==n.j?[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]]:null;function M(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){a||(I(t,o),a=!0);var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(I(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var l=0;l0&&(0,f.T)(n.lineDash,n.lineWidth),L=n.lineDashOffset,O=!!t.setLineDash,R=e.getGlobalScale();if(h.setScale(R[0],R[1],e.segmentIgnoreThreshold),P){var Z=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;Z&&1!==Z&&(P=(0,c.UI)(P,(function(t){return t/Z})),L/=Z)}var z=!0;(u||e.__dirty&d.RH||P&&!O&&r)&&(h.setDPR(t.dpr),l?h.setContext(null):(h.setContext(t),z=!1),h.reset(),P&&!O&&(h.setLineDash(P),h.setLineDashOffset(L)),e.buildPath(h,e.shape,i),h.toStatic(),e.pathUpdated()),z&&h.rebuildPath(t,l?s:1),P&&O&&(t.setLineDash(P),t.lineDashOffset=L),i||(n.strokeFirst?(r&&x(t,n),o&&_(t,n)):(o&&_(t,n),r&&x(t,n))),P&&O&&t.setLineDash([])}(t,e,Z,R),R&&(n.batchFill=Z.fill||"",n.batchStroke=Z.stroke||"")):e instanceof u.Z?(3!==n.lastDrawType&&(D=!0,n.lastDrawType=3),T(t,e,P,D,n),function(t,e,n){var i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||h.Uo,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var r=void 0;if(t.setLineDash){var o=n.lineDash&&n.lineWidth>0&&(0,f.T)(n.lineDash,n.lineWidth),a=n.lineDashOffset;if(o){var s=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;s&&1!==s&&(o=(0,c.UI)(o,(function(t){return t/s})),a/=s),t.setLineDash(o),t.lineDashOffset=a,r=!0}}n.strokeFirst?(v(n)&&t.strokeText(i,n.x,n.y),m(n)&&t.fillText(i,n.x,n.y)):(m(n)&&t.fillText(i,n.x,n.y),v(n)&&t.strokeText(i,n.x,n.y)),r&&t.setLineDash([])}}(t,e,Z)):e instanceof l.ZP?(2!==n.lastDrawType&&(D=!0,n.lastDrawType=2),function(t,e,n,i,r){M(t,C(e,r.inHover),n&&C(n,r.inHover),i,r)}(t,e,P,D,n),function(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var f=s-(h=n.sx),p=l-(c=n.sy);t.drawImage(i,h,c,f,p,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,Z)):e instanceof p.Z&&(4!==n.lastDrawType&&(D=!0,n.lastDrawType=4),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;on||f+ca&&(a+=r);var d=Math.atan2(h,u);return d<0&&(d+=r),d>=o&&d<=a||d+r>=o&&d+r<=a}},WSoF:function(t,e,n){"use strict";if(n.d(e,{m:function(){return r}}),1223==n.j)var i=n("Ng5v");function r(t,e,n,r,o,a,s,l,u,h,c){if(0===u)return!1;var f=u;return!(c>e+f&&c>r+f&&c>a+f&&c>l+f||ct+f&&h>n+f&&h>o+f&&h>s+f||he+s&&a>i+s||at+s&&o>n+s||oe+h&&u>r+h&&u>a+h||ut+h&&l>n+h&&l>o+h||l=0?parseFloat(t)/100*e:parseFloat(t):t}function m(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=y(i[0],n.width),u+=y(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}},Dvii:function(t,e,n){"use strict";n.d(e,{m:function(){return r}});var i=2*Math.PI;function r(t){return(t%=i)<0&&(t+=i),t}},BHz8:function(t,e,n){"use strict";function i(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}n.d(e,{Z:function(){return i}})},"89oy":function(t,e,n){"use strict";var i=n("ftEC"),r=n("PBFU"),o=Math.min,a=Math.max,s=new r.Z,l=new r.Z,u=new r.Z,h=new r.Z,c=new r.Z,f=new r.Z,p=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,r=t.height/e.height,o=i.Ue();return i.Iu(o,o,[-e.x,-e.y]),i.bA(o,o,[n,r]),i.Iu(o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,o=i.x,a=i.x+i.width,s=i.y,l=i.y+i.height,u=e.x,h=e.x+e.width,p=e.y,d=e.y+e.height,g=!(ay&&(y=S,m<_?r.Z.set(f,-m,0):r.Z.set(f,_,0)):Sy&&(y=w,x=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],f=i[4],p=i[5];return e.x=n.x*r+f,e.y=n.y*c+p,e.width=n.width*r,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=u.x=n.x,s.y=h.y=n.y,l.x=h.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(i),h.transform(i),l.transform(i),u.transform(i),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var d=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=d-e.x,e.height=g-e.y}else e!==n&&t.copy(e,n)},t}();e.Z=1223==n.j?p:null},hq4F:function(t,e,n){"use strict";var i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e.ZP=1223==n.j?o:null},"7b5S":function(t,e,n){"use strict";var i=n("PBFU"),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z,l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.Z;for(n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r)||r||i.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]o[1]){if(u=!1,s)return u;var f=Math.abs(o[0]-r[1]),p=Math.abs(r[0]-o[1]);Math.min(f,p)>a.len()&&(f=S?r=n+S:e&&n-r>=S?r=n-S:!e&&n>r?r=n+(S-T(n-r)):e&&n0&&(this._ux=x(n/o.KL/t)||0,this._uy=x(n/o.KL/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=x(t-this._xi),i=x(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(l.L,t,e),this._ctx&&r&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(l.C,t,e,n,i,r,o),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(l.Q,t,e,n,i),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),M[0]=i,M[1]=r,k(M,o),i=M[0];var a=(r=M[1])-i;return this.addData(l.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=y(r)*n+t,this._yi=m(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e0&&p<=t||h<0&&p>=t||0===h&&(c>0&&d<=e||c<0&&d>=e);)p+=h*(n=o[i=this._dashIdx]),d+=c*n,this._dashIdx=(i+1)%y,h>0&&pl||c>0&&du||a[i%2?"moveTo":"lineTo"](h>=0?g(p,t):v(p,t),c>=0?g(d,e):v(d,e));h=p-t,c=d-e,this._dashOffset=-_(h*h+c*c)},t.prototype._dashedBezierTo=function(t,e,n,i,r,o){var a,l,u,h,c,f=this._ctx,p=this._dashSum,d=this._dashOffset,g=this._lineDash,v=this._xi,y=this._yi,m=0,x=this._dashIdx,b=g.length,S=0;for(d<0&&(d=p+d),d%=p,a=0;a<1;a+=.1)l=(0,s.af)(v,t,n,r,a+.1)-(0,s.af)(v,t,n,r,a),u=(0,s.af)(y,e,i,o,a+.1)-(0,s.af)(y,e,i,o,a),m+=_(l*l+u*u);for(;xd);x++);for(a=(S-d)/m;a<=1;)h=(0,s.af)(v,t,n,r,a),c=(0,s.af)(y,e,i,o,a),x%2?f.moveTo(h,c):f.lineTo(h,c),a+=g[x]/m,x=(x+1)%b;x%2!==0&&f.lineTo(r,o),l=r-h,u=o-c,this._dashOffset=-_(l*l+u*u)},t.prototype._dashedQuadraticTo=function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,w&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){c[0]=c[1]=p[0]=p[1]=Number.MAX_VALUE,f[0]=f[1]=d[0]=d[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,s=0,u=0;for(t=0;tn||x(M)>i||p===e-1)&&(b=Math.sqrt(N*N+M*M),r=w,o=I);break;case l.C:var T=t[p++],k=t[p++],I=(w=t[p++],t[p++]),C=t[p++],D=t[p++];b=(0,s.Ci)(r,o,T,k,w,I,C,D,10),r=C,o=D;break;case l.Q:T=t[p++],k=t[p++],w=t[p++],I=t[p++];b=(0,s.wQ)(r,o,T,k,w,I,10),r=w,o=I;break;case l.A:var A=t[p++],P=t[p++],L=t[p++],O=t[p++],R=t[p++],Z=t[p++],z=Z+R;p+=1;t[p++];_&&(a=y(R)*L+A,u=m(R)*O+P),b=v(L,O)*g(S,Math.abs(Z)),r=y(z)*L+A,o=m(z)*O+P;break;case l.R:a=r=t[p++],u=o=t[p++],b=2*t[p++]+2*t[p++];break;case l.Z:var N=a-r;M=u-o;b=Math.sqrt(N*N+M*M),r=a,o=u}b>=0&&(h[f++]=b,c+=b)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,c,f,p,d,_,b=this.data,S=this._ux,w=this._uy,M=this._len,T=e<1,k=0,I=0,C=0;if(!T||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=e*this._pathLen))t:for(var D=0;D0&&(t.lineTo(d,_),C=0),A){case l.M:n=r=b[D++],i=o=b[D++],t.moveTo(r,o);break;case l.L:a=b[D++],c=b[D++];var L=x(a-r),O=x(c-o);if(L>S||O>w){if(T){if(k+(it=f[I++])>p){var R=(p-k)/it;t.lineTo(r*(1-R)+a*R,o*(1-R)+c*R);break t}k+=it}t.lineTo(a,c),r=a,o=c,C=0}else{var Z=L*L+O*O;Z>C&&(d=a,_=c,C=Z)}break;case l.C:var z=b[D++],N=b[D++],B=b[D++],F=b[D++],E=b[D++],V=b[D++];if(T){if(k+(it=f[I++])>p){R=(p-k)/it;(0,s.Vz)(r,z,B,E,R,u),(0,s.Vz)(o,N,F,V,R,h),t.bezierCurveTo(u[1],h[1],u[2],h[2],u[3],h[3]);break t}k+=it}t.bezierCurveTo(z,N,B,F,E,V),r=E,o=V;break;case l.Q:z=b[D++],N=b[D++],B=b[D++],F=b[D++];if(T){if(k+(it=f[I++])>p){R=(p-k)/it;(0,s.Lx)(r,z,B,R,u),(0,s.Lx)(o,N,F,R,h),t.quadraticCurveTo(u[1],h[1],u[2],h[2]);break t}k+=it}t.quadraticCurveTo(z,N,B,F),r=B,o=F;break;case l.A:var j=b[D++],H=b[D++],G=b[D++],X=b[D++],W=b[D++],U=b[D++],Y=b[D++],q=!b[D++],K=G>X?G:X,J=x(G-X)>.001,Q=W+U,$=!1;if(T)k+(it=f[I++])>p&&(Q=W+U*(p-k)/it,$=!0),k+=it;if(J&&t.ellipse?t.ellipse(j,H,G,X,Y,W,Q,q):t.arc(j,H,K,W,Q,q),$)break t;P&&(n=y(W)*G+j,i=m(W)*X+H),r=y(Q)*G+j,o=m(Q)*X+H;break;case l.R:n=r=b[D],i=o=b[D+1],a=b[D++],c=b[D++];var tt=b[D++],et=b[D++];if(T){if(k+(it=f[I++])>p){var nt=p-k;t.moveTo(a,c),t.lineTo(a+g(nt,tt),c),(nt-=tt)>0&&t.lineTo(a+tt,c+g(nt,et)),(nt-=et)>0&&t.lineTo(a+v(tt-nt,0),c+et),(nt-=tt)>0&&t.lineTo(a,c+v(et-nt,0));break t}k+=it}t.rect(a,c,tt,et);break;case l.Z:if(T){var it;if(k+(it=f[I++])>p){R=(p-k)/it;t.lineTo(r*(1-R)+n*R,o*(1-R)+i*R);break t}k+=it}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=l,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e.Z=1223==n.j?I:null},PBFU:function(t,e,n){"use strict";var i=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}();e.Z=1223==n.j?i:null},q7QC:function(t,e,n){"use strict";var i=n("ftEC"),r=n("SHa5"),o=i.yR,a=5e-5;function s(t){return t>a||t<-5e-5}var l=[],u=[],h=i.Ue(),c=Math.abs,f=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&o(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var n=l[0]<0?-1:1,r=l[1]<0?-1:1,o=((l[0]-n)*e+n)/l[0]||0,a=((l[1]-r)*e+r)/l[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.dC(u,t.invTransform,e),e=u);var n=this.originX,r=this.originY;(n||r)&&(h[4]=n,h[5]=r,i.dC(u,e,h),u[4]-=n,u[5]-=r,e=u),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.Ne(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){for(var e=0;e1e-4)return d[0]=t-n,d[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(h[0]=l(o)*n+t,h[1]=s(o)*r+e,c[0]=l(a)*n+t,c[1]=s(a)*r+e,v(d,h,c),y(g,h,c),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!p?a+=u:oo&&(f[0]=l(x)*n+t,f[1]=s(x)*r+e,v(d,f,d),y(g,f,g))}},Ng5v:function(t,e,n){"use strict";n.d(e,{af:function(){return g},X_:function(){return v},kD:function(){return y},pP:function(){return m},Vz:function(){return _},t1:function(){return x},Ci:function(){return b},Zm:function(){return S},AZ:function(){return w},Jz:function(){return M},QC:function(){return T},Lx:function(){return k},Wr:function(){return I},wQ:function(){return C}});var i=n("SHa5"),r=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,l=o(3),u=1223==n.j?1/3:null,h=(0,i.Ue)(),c=(0,i.Ue)(),f=(0,i.Ue)();function p(t){return t>-1e-8&&ta||t<-1e-8}function g(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function v(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function y(t,e,n,i,a,s){var h=i+3*(e-n)-t,c=3*(n-2*e+t),f=3*(e-t),d=t-a,g=c*c-3*h*f,v=c*f-9*h*d,y=f*f-3*c*d,m=0;if(p(g)&&p(v)){if(p(c))s[0]=0;else(D=-f/c)>=0&&D<=1&&(s[m++]=D)}else{var _=v*v-4*g*y;if(p(_)){var x=v/g,b=-x/2;(D=-c/h+x)>=0&&D<=1&&(s[m++]=D),b>=0&&b<=1&&(s[m++]=b)}else if(_>0){var S=o(_),w=g*c+1.5*h*(-v+S),M=g*c+1.5*h*(-v-S);(D=(-c-((w=w<0?-r(-w,u):r(w,u))+(M=M<0?-r(-M,u):r(M,u))))/(3*h))>=0&&D<=1&&(s[m++]=D)}else{var T=(2*g*c-3*h*v)/(2*o(g*g*g)),k=Math.acos(T)/3,I=o(g),C=Math.cos(k),D=(-c-2*I*C)/(3*h),A=(b=(-c+I*(C+l*Math.sin(k)))/(3*h),(-c+I*(C-l*Math.sin(k)))/(3*h));D>=0&&D<=1&&(s[m++]=D),b>=0&&b<=1&&(s[m++]=b),A>=0&&A<=1&&(s[m++]=A)}}return m}function m(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(p(s)){if(d(a))(c=-l/a)>=0&&c<=1&&(r[u++]=c)}else{var h=a*a-4*s*l;if(p(h))r[0]=-a/(2*s);else if(h>0){var c,f=o(h),g=(-a-f)/(2*s);(c=(-a+f)/(2*s))>=0&&c<=1&&(r[u++]=c),g>=0&&g<=1&&(r[u++]=g)}}return u}function _(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function x(t,e,n,r,a,l,u,p,d,v,y){var m,_,x,b,S,w=.005,M=1/0;h[0]=d,h[1]=v;for(var T=0;T<1;T+=.05)c[0]=g(t,n,a,u,T),c[1]=g(e,r,l,p,T),(b=(0,i.WU)(h,c))=0&&b=0&&c<=1&&(r[u++]=c)}else{var h=s*s-4*a*l;if(p(h))(c=-s/(2*a))>=0&&c<=1&&(r[u++]=c);else if(h>0){var c,f=o(h),g=(-s-f)/(2*a);(c=(-s+f)/(2*a))>=0&&c<=1&&(r[u++]=c),g>=0&&g<=1&&(r[u++]=g)}}return u}function T(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function k(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function I(t,e,n,r,a,l,u,p,d){var g,v=.005,y=1/0;h[0]=u,h[1]=p;for(var m=0;m<1;m+=.05){c[0]=S(t,n,a,m),c[1]=S(e,r,l,m),(w=(0,i.WU)(h,c))=0&&w>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,s),h=function(t,e,n){for(var i=n?"invTrans":"trans",o=e[i],a=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),f=2*h,p=c.left,d=c.top;s.push(p,d),u=u&&a&&p===a[f]&&d===a[f+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&o?o:(e.srcCoords=s,e[i]=n?(0,r.Q)(l,s):(0,r.Q)(s,l))}(u,s,a);if(h)return h(t,n,o),!0}return!1}function l(t){return"CANVAS"===t.nodeName.toUpperCase()}},"/iMr":function(t,e,n){"use strict";var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1};"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(r.wxa=!0,r.canvasSupported=!0,r.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?(r.worker=!0,r.canvasSupported=!0):"undefined"===typeof navigator?(r.node=!0,r.canvasSupported=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.canvasSupported=!!document.createElement("canvas").getContext,e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r),e.Z=1223==n.j?r:null},hwCi:function(t,e,n){"use strict";if(n.d(e,{eV:function(){return l},iP:function(){return h},OD:function(){return c},Oo:function(){return f},xg:function(){return p},sT:function(){return d}}),1223==n.j)var i=n("/iMr");if(1223==n.j)var r=n("Oz+y");var o="undefined"!==typeof window&&!!window.addEventListener,a=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,s=1223==n.j?[]:null;function l(t,e,n,r){return n=n||{},r||!i.Z.canvasSupported?u(t,e,n):i.Z.browser.firefox&&i.Z.browser.version<"39"&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,a=e.clientY;if((0,r.UK)(t)){var l=t.getBoundingClientRect();return n.zrX=o-l.left,void(n.zrY=a-l.top)}if((0,r.A4)(s,t,o,a))return n.zrX=s[0],void(n.zrY=s[1])}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(null!=(e=h(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&l(t,r,e,n)}else{l(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&a.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function f(t,e,n,i){o?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function p(t,e,n,i){o?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}var d=1223==n.j?o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0}:null},zEYT:function(t,e,n){"use strict";n.d(e,{Q:function(){return o}});var i=Math.log(2);function r(t,e,n,o,a,s){var l=o+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function s(t,e){var n,i,r,s=7,l=0;n=t.length;var u=[];function h(n){var h=i[n],c=r[n],f=i[n+1],p=r[n+1];r[n]=c+p,n===l-3&&(i[n+1]=i[n+2],r[n+1]=r[n+2]),l--;var d=a(t[f],t,h,c,0,e);h+=d,0!==(c-=d)&&0!==(p=o(t[h+c-1],t,f,p,p-1,e))&&(c<=p?function(n,i,r,l){var h=0;for(h=0;h=7||g>=7);if(v)break;y<0&&(y=0),y+=2}if((s=y)<1&&(s=1),1===i){for(h=0;h=0;h--)t[g+h]=t[d+h];return void(t[p]=u[f])}var v=s;for(;;){var y=0,m=0,_=!1;do{if(e(u[f],t[c])<0){if(t[p--]=t[c--],y++,m=0,0===--i){_=!0;break}}else if(t[p--]=u[f--],m++,y=0,1===--l){_=!0;break}}while((y|m)=0;h--)t[g+h]=t[d+h];if(0===i){_=!0;break}}if(t[p--]=u[f--],1===--l){_=!0;break}if(0!==(m=l-o(t[c],u,0,l,l-1,e))){for(l-=m,g=(p-=m)+1,d=(f-=m)+1,h=0;h=7||m>=7);if(_)break;v<0&&(v=0),v+=2}(s=v)<1&&(s=1);if(1===l){for(g=(p-=i)+1,d=(c-=i)+1,h=i-1;h>=0;h--)t[g+h]=t[d+h];t[p]=u[f]}else{if(0===l)throw new Error;for(d=p-(l-1),h=0;h1;){var t=l-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;h(t)}},forceMergeRuns:function(){for(;l>1;){var t=l-2;t>0&&r[t-1]=32;)e|=1&t,t>>=1;return t+e}(a);do{if((l=i(t,n,o,e))h&&(c=h),r(t,n,n+c,n+l,e),l=c}u.pushRun(n,l),u.mergeRuns(),a-=l,n+=l}while(0!==a);u.forceMergeRuns()}}}},"5MlX":function(t,e,n){"use strict";n.d(e,{M8:function(){return v},H:function(){return y},d9:function(){return m},TS:function(){return _},l7:function(){return x},ce:function(){return b},vL:function(){return S},cq:function(){return w},XW:function(){return M},jB:function(){return T},zG:function(){return k},S6:function(){return I},UI:function(){return C},u4:function(){return D},hX:function(){return A},XP:function(){return P},ak:function(){return L},WA:function(){return O},kJ:function(){return R},mf:function(){return Z},HD:function(){return z},cd:function(){return N},hj:function(){return B},Kn:function(){return F},fU:function(){return V},Mh:function(){return j},Qq:function(){return H},dL:function(){return G},Bu:function(){return X},Jv:function(){return W},pD:function(){return U},R1:function(){return Y},tP:function(){return q},MY:function(){return K},hu:function(){return J},fy:function(){return Q},s7:function(){return tt},kW:function(){return it},WW:function(){return rt},nW:function(){return ot},RI:function(){return at},ZT:function(){return st}});var i={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},r={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},o=Object.prototype.toString,a=Array.prototype,s=a.forEach,l=a.filter,u=a.slice,h=a.map,c=function(){}.constructor,f=c?c.prototype:null,p="__proto__",d={};var g=2311;function v(){return g++}function y(){for(var t=[],e=0;e=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.cq(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;ne&&u>i&&u>o&&u>s||u1&&v(),y=h.af(e,i,o,s,g[0]),p>1&&(m=h.af(e,i,o,s,g[1]))),2===p?xe&&s>i&&s>o||s=0&&u<=1){for(var c=0,f=h.Zm(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);d[0]=-l,d[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=p-1e-4){i=0,r=p;var h=o?1:-1;return a>=d[0]+t&&a<=d[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=p,r+=p);for(var f=0,g=0;g<2;g++){var v=d[g];if(v+t>a){var y=Math.atan2(s,v);h=o?1:-1;y<0&&(y=p+y),(y>=i&&y<=r||y+p>=i&&y+p<=r)&&(y>Math.PI/2&&y<1.5*Math.PI&&(h=-h),f+=h)}}return f}function x(t,e,n,i,r){for(var o,h,p,d,g=t.data,v=t.len(),x=0,b=0,S=0,w=0,M=0,T=0;T1&&(n||(x+=(0,c.Z)(b,S,w,M,i,r))),I&&(w=b=g[T],M=S=g[T+1]),k){case f.M:b=w=g[T++],S=M=g[T++];break;case f.L:if(n){if(a.m(b,S,g[T],g[T+1],e,i,r))return!0}else x+=(0,c.Z)(b,S,g[T],g[T+1],i,r)||0;b=g[T++],S=g[T++];break;case f.C:if(n){if(s.m(b,S,g[T++],g[T++],g[T++],g[T++],g[T],g[T+1],e,i,r))return!0}else x+=y(b,S,g[T++],g[T++],g[T++],g[T++],g[T],g[T+1],i,r)||0;b=g[T++],S=g[T++];break;case f.Q:if(n){if(l.m(b,S,g[T++],g[T++],g[T],g[T+1],e,i,r))return!0}else x+=m(b,S,g[T++],g[T++],g[T],g[T+1],i,r)||0;b=g[T++],S=g[T++];break;case f.A:var C=g[T++],D=g[T++],A=g[T++],P=g[T++],L=g[T++],O=g[T++];T+=1;var R=!!(1-g[T++]);o=Math.cos(L)*A+C,h=Math.sin(L)*P+D,I?(w=o,M=h):x+=(0,c.Z)(b,S,o,h,i,r);var Z=(i-C)*P/A+C;if(n){if(u.m(C,D,P,L,L+O,R,e,Z,r))return!0}else x+=_(C,D,P,L,L+O,R,Z,r);b=Math.cos(L+O)*A+C,S=Math.sin(L+O)*P+D;break;case f.R:if(w=b=g[T++],M=S=g[T++],o=w+g[T++],h=M+g[T++],n){if(a.m(w,M,o,M,e,i,r)||a.m(o,M,o,h,e,i,r)||a.m(o,h,w,h,e,i,r)||a.m(w,h,w,M,e,i,r))return!0}else x+=(0,c.Z)(o,M,o,h,i,r),x+=(0,c.Z)(w,h,w,M,i,r);break;case f.Z:if(n){if(a.m(b,S,w,M,e,i,r))return!0}else x+=(0,c.Z)(b,S,w,M,i,r);b=w,S=M}}return n||(p=S,d=M,Math.abs(p-d)<1e-4)||(x+=(0,c.Z)(b,S,w,M,i,r)||0),0!==x}var b=n("5MlX"),S=n("eFAM"),w=n("fA56"),M=n("F5VV"),T=(0,b.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),k={style:(0,b.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},I=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],C=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s.5?w.vU:e>.2?w.iv:w.GD}if(t)return w.GD}return w.vU},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,b.HD)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===(0,S.L0)(t,0)0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&M.RH)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return x(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return x(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=M.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:(0,b.l7)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&M.RH)},e.prototype.createStyle=function(t){return(0,b.nW)(T,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,b.l7)({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,b.l7)({},i.shape),(0,b.l7)(s,n.shape)):(s=(0,b.l7)({},r?this.shape:i.shape),(0,b.l7)(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=(0,b.l7)({},this.shape);for(var u={},h=(0,b.XP)(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.nW)(l,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.ZP);u.prototype.type="tspan",e.Z=1223==n.j?u:null},MN9j:function(t,e,n){"use strict";n.d(e,{ZP:function(){return Z}});var i=n("eRfh"),r=n("y0PW"),o=n("5MlX"),a=n("/ciP"),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=u(e,n,i,r);for(var a=0,s=o.length;a=l;h++)u-=l;var c=(0,a.dz)(n,e);return c>u&&(n="",c=0),u=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=u,r.containerWidth=t,r}function h(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=(0,a.dz)(t,i);if(o<=n)return t;for(var s=0;;s++){if(o<=r||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?c(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,l),o=(0,a.dz)(t,i)}return""===t&&(t=e.placeholder),t}function c(t,e,n,i){for(var r=0,o=0,a=t.length;o0&&y+i.accumWidth>i.width&&(o=e.split("\n"),d=!0),i.accumWidth=y}else{var _=m(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var x=0;x=33&&e<=255}(t)||!!v[t]}function m(t,e,n,i,r){for(var o=[],s=[],l="",u="",h=0,c=0,f=0;fn:r+c+d>n)?c?(l||u)&&(g?(l||(l=u,u="",c=h=0),o.push(l),s.push(c-h),u+=p,l="",c=h+=d):(u&&(l+=u,c+=h,u="",h=0),o.push(l),s.push(c),l=p,c=d)):g?(o.push(u),s.push(h),u=p,h=d):(o.push(p),s.push(d)):(c+=d,g?(u+=p,h+=d):(u&&(l+=u,u="",h=0),l+=p))}else u&&(l+=u,c+=h),o.push(l),s.push(c),l="",u="",h=0,c=0}return o.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(o.push(l),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var _=n("0lpt"),x=n("KSMq"),b=n("J2q9"),S=n("89oy"),w=n("fCqq"),M={fill:"#000"},T={style:(0,o.ce)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},w.ik.style)},k=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=M,n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ev&&p){var y=Math.floor(v/f);n=n.slice(0,y)}var _=v,x=d;if(r&&(_+=r[0]+r[2],null!=x&&(x+=r[1]+r[3])),t&&l&&null!=x)for(var b=u(d,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),S=0;S0,z=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),N=i.calculatedLineHeight,B=0;Bp&&g(n,t.substring(p,v),e,f),g(n,i[2],e,f,i[1]),p=s.lastIndex}ph){C>0?(T.tokens=T.tokens.slice(0,C),w(T,I,k),n.lines=n.lines.slice(0,M+1)):n.lines=n.lines.slice(0,M);break t}var R=D.width,Z=null==R||"auto"===R;if("string"===typeof R&&"%"===R.charAt(R.length-1))F.percentWidth=R,y.push(F),F.contentWidth=(0,a.dz)(F.text,L);else{if(Z){var z=D.backgroundColor,N=z&&z.image;N&&(N=r.ko(N),r.v5(N)&&(F.width=Math.max(F.width,N.width*O/N.height)))}var B=b&&null!=u?u-I:null;null!=B&&B=0&&"right"===(z=k[Z]).align;)this._placeToken(z,t,C,b,L,"right",w),D-=z.width,L-=z.width,Z--;for(P+=(n-(P-x)-(S-L)-D)/2;A<=Z;)z=k[A],this._placeToken(z,t,C,b,P+z.width/2,"center",w),P+=z.width,A++;b+=C}},e.prototype._placeToken=function(t,e,n,i,r,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2),!t.isLineHolder&&R(u)&&this._renderBackground(u,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var f=!!u.backgroundColor,p=t.textPadding;p&&(r=L(r,s,p),c-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(_.Z),g=d.createStyle();d.useStyle(g);var v=this._defaultStyle,y=!1,m=0,x=P("fill"in u?u.fill:"fill"in e?e.fill:(y=!0,v.fill)),b=A("stroke"in u?u.stroke:"stroke"in e?e.stroke:f||l||v.autoStroke&&!y?null:(m=2,v.stroke)),w=u.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,w&&(g.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,g.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||a.Uo,g.opacity=(0,o.R1)(u.opacity,e.opacity,1),b&&(g.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,m),g.lineDash=(0,o.pD)(u.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=b),x&&(g.fill=x);var M=t.contentWidth,T=t.contentHeight;d.setBoundingRect(new S.Z((0,a.M3)(g.x,M,g.textAlign),(0,a.mU)(g.y,T,g.textBaseline),M,T))},e.prototype._renderBackground=function(t,e,n,i,r,a){var s,l,u,h=t.backgroundColor,c=t.borderWidth,f=t.borderColor,p=h&&h.image,d=h&&!p,g=t.borderRadius,v=this;if(d||t.lineHeight||c&&f){(s=this._getOrCreateChild(b.Z)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=i,y.width=r,y.height=a,y.r=g,s.dirtyShape()}if(d)(u=s.style).fill=h||null,u.fillOpacity=(0,o.pD)(t.fillOpacity,1);else if(p){(l=this._getOrCreateChild(x.ZP)).onload=function(){v.dirtyStyle()};var m=l.style;m.image=h.image,m.x=n,m.y=i,m.width=r,m.height=a}c&&f&&((u=s.style).lineWidth=c,u.stroke=f,u.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),u.lineDash=t.borderDash,u.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(u.strokeFirst=!0,u.lineWidth*=2));var _=(s||l).style;_.shadowBlur=t.shadowBlur||0,_.shadowColor=t.shadowColor||"transparent",_.shadowOffsetX=t.shadowOffsetX||0,_.shadowOffsetY=t.shadowOffsetY||0,_.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!==typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&(0,o.fy)(e)||t.textFont||t.font},e}(w.ZP),I={left:!0,right:1,center:1},C={top:1,bottom:1,middle:1};function D(t){if(t){t.font=k.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||I[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||C[n]?n:"top",t.padding&&(t.padding=(0,o.MY)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function O(t){var e=t.text;return null!=e&&(e+=""),e}function R(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var Z=k},F5VV:function(t,e,n){"use strict";n.d(e,{YV:function(){return i},SE:function(){return r},RH:function(){return o}});var i=1,r=2,o=4},KVsd:function(t,e,n){"use strict";if(n.d(e,{T:function(){return r}}),1223==n.j)var i=n("5MlX");function r(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:(0,i.hj)(t)?[t]:(0,i.kJ)(t)?t:null):null}},y0PW:function(t,e,n){"use strict";n.d(e,{ko:function(){return r},Gq:function(){return o},v5:function(){return s}});var i=new(n("ofzl").ZP)(50);function r(t){if("string"===typeof t){var e=i.get(t);return e&&e.image}return t}function o(t,e,n,r,o){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var l=i.get(t),u={hostEl:n,cb:r,cbPayload:o};return l?!s(e=l.image)&&l.pending.push(u):((e=new Image).onload=e.onerror=a,i.put(t,e.__cachedImgObj={image:e,pending:[u]}),e.src=e.__zrImageSrc=t),e}return t}return e}function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=2){if(o&&"spline"!==o){var s=(0,r.Z)(a,o,n,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(n?l:l-1);u++){var h=s[2*u],c=s[2*u+1],f=a[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],f[0],f[1])}}else{"spline"===o&&(a=(0,i.Z)(a,n)),t.moveTo(a[0][0],a[0][1]);u=1;for(var p=a.length;un-2?n-1:h+1],g=t[h>n-3?n-1:h+2]);var v=c*c,y=c*v;o.push([r(f[0],p[0],d[0],g[0],c,v,y),r(f[1],p[1],d[1],g[1],c,v,y)])}return o}},"5a7W":function(t,e,n){"use strict";n.d(e,{_3:function(){return r},Pw:function(){return o},vu:function(){return a}});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u?(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0)),t):t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l?(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(a(r+s,l,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2===0?r/2:(r+(n?1:-1))/2}},"03ZD":function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc",e.Z=1223==n.j?a:null},cipt:function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=n("SHa5"),a=n("Ng5v"),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?a.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(n?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,i),null==h||null==c?(f<1&&((0,a.Lx)(n,l,r,f,s),l=s[1],r=s[2],(0,a.Lx)(i,u,o,f,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,r,o)):(f<1&&((0,a.Vz)(n,l,h,r,f,s),l=s[1],h=s[2],r=s[3],(0,a.Vz)(i,u,c,o,f,s),u=s[1],c=s[2],o=s[3]),t.bezierCurveTo(l,u,h,c,r,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.Fv(e,e)},e}(r.ZP);h.prototype.type="bezier-curve",e.Z=1223==n.j?h:null},GVbO:function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle",e.Z=1223==n.j?a:null},Ke4J:function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(r.ZP);a.prototype.type="ellipse",e.Z=1223==n.j?a:null},wrin:function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=n("5a7W"),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,i,r,s;if(this.subPixelOptimize){var l=(0,o._3)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.ZP);l.prototype.type="line",e.Z=1223==n.j?l:null},"5Uxi":function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=n("KF6M"),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(r.ZP);s.prototype.type="polygon",e.Z=1223==n.j?s:null},KvR3:function(t,e,n){"use strict";var i=n("eRfh"),r=n("vvKg"),o=n("KF6M"),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!1)},e}(r.ZP);s.prototype.type="polyline",e.Z=1223==n.j?s:null},J2q9:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n("eRfh"),r=n("vvKg");var o=n("5a7W"),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var l=(0,o.Pw)(s,e,this.style);n=l.x,i=l.y,r=l.width,a=l.height,l.r=e.r,e=l}else n=e.x,i=e.y,r=e.width,a=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"===typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);l.prototype.type="rect";var u=l},Uoh4:function(t,e,n){"use strict";n.d(e,{C:function(){return b}});var i=n("eRfh"),r=n("vvKg"),o=n("ZFBs"),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,g=Math.min,v=1e-4;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/p(s*s+l*l),h=u*l,c=-u*s,f=t+h,g=e+c,v=n+h,y=i+c,m=(f+v)/2,_=(g+y)/2,x=v-f,b=y-g,S=x*x+b*b,w=r-o,M=f*y-v*g,T=(b<0?-1:1)*p(d(0,w*w*S-M*M)),k=(M*b-x*T)/S,I=(-M*x-b*T)/S,C=(M*b+x*T)/S,D=(-M*x+b*T)/S,A=k-m,P=I-_,L=C-m,O=D-_;return A*A+P*P>L*L+O*O&&(k=C,I=D),{cx:k,cy:I,x01:-h,y01:-c,x11:k*(r/w-1),y11:I*(r/w-1)}}function m(t,e){var n=d(e.r,0),i=d(e.r0||0,0),r=n>0;if(r||i>0){if(r||(n=i,i=0),i>n){var m=n;n=i,i=m}var _,x=!!e.clockwise,b=e.startAngle,S=e.endAngle;if(b===S)_=0;else{var w=[b,S];(0,o.L)(w,!x),_=f(w[0]-w[1])}var M=e.cx,T=e.cy,k=e.cornerRadius||0,I=e.innerCornerRadius||0;if(n>v)if(_>s-v)t.moveTo(M+n*u(b),T+n*l(b)),t.arc(M,T,n,b,S,!x),i>v&&(t.moveTo(M+i*u(S),T+i*l(S)),t.arc(M,T,i,S,b,x));else{var C=f(n-i)/2,D=g(C,k),A=g(C,I),P=A,L=D,O=n*u(b),R=n*l(b),Z=i*u(S),z=i*l(S),N=void 0,B=void 0,F=void 0,E=void 0;if((D>v||A>v)&&(N=n*u(S),B=n*l(S),F=i*u(b),E=i*l(b),_v)if(L>v){var Y=y(F,E,O,R,n,L,x),q=y(N,B,Z,z,n,L,x);t.moveTo(M+Y.cx+Y.x01,T+Y.cy+Y.y01),Lv&&_>v)if(P>v){Y=y(Z,z,N,B,i,-P,x),q=y(O,R,F,E,i,-P,x);t.lineTo(M+Y.cx+Y.x01,T+Y.cy+Y.y01),P255?255:t}function a(t){return t<0?0:t>1?1:t}function s(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100):a(parseFloat(e))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i.ZP(20),d=null;function g(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function v(t,e){if(t){e=e||[];var n=p.get(t);if(n)return f(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in r)return f(e,r[i]),g(t,e),e;var o,a=i.length;if("#"===i.charAt(0))return 4===a||5===a?(o=parseInt(i.slice(1,4),16))>=0&&o<=4095?(c(e,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===a?parseInt(i.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1):7===a||9===a?(o=parseInt(i.slice(1,7),16))>=0&&o<=16777215?(c(e,(16711680&o)>>16,(65280&o)>>8,255&o,9===a?parseInt(i.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1):void 0;var u=i.indexOf("("),h=i.indexOf(")");if(-1!==u&&h+1===a){var d=i.substr(0,u),v=i.substr(u+1,h-(u+1)).split(","),m=1;switch(d){case"rgba":if(4!==v.length)return 3===v.length?c(e,+v[0],+v[1],+v[2],1):c(e,0,0,0,1);m=l(v.pop());case"rgb":return 3!==v.length?void c(e,0,0,0,1):(c(e,s(v[0]),s(v[1]),s(v[2]),m),g(t,e),e);case"hsla":return 4!==v.length?void c(e,0,0,0,1):(v[3]=l(v[3]),y(v,e),g(t,e),e);case"hsl":return 3!==v.length?void c(e,0,0,0,1):(y(v,e),g(t,e),e);default:return}}c(e,0,0,0,1)}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),r=l(t[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return c(e=e||[],o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=v(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return M(n,4===n.length?"rgba":"rgb")}}function _(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=e[r],u=e[s],c=i-r;return n[0]=o(h(l[0],u[0],c)),n[1]=o(h(l[1],u[1],c)),n[2]=o(h(l[2],u[2],c)),n[3]=a(h(l[3],u[3],c)),n}}function b(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=v(e[r]),u=v(e[s]),c=i-r,f=M([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),a(h(l[3],u[3],c))],"rgba");return n?{color:f,leftIndex:r,rightIndex:s,value:i}:f}}function S(t,e,n,i){var r,o=v(t);if(t)return o=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,f=((s-o)/6+l/2)/l;i===s?e=f-c:r===s?e=1/3+h-f:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(o),null!=e&&(o[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(o[1]=l(n)),null!=i&&(o[2]=l(i)),M(y(o),"rgba")}function w(t,e){var n=v(t);if(n&&null!=e)return n[3]=a(e),M(n,"rgba")}function M(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function T(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}},nah9:function(t,e,n){"use strict";if(n.d(e,{J:function(){return a},y:function(){return l}}),1223==n.j)var i=n("Ng5v");var r=n("ZFBs").Z.CMD;function o(t,e){return Math.abs(t-e)<1e-5}function a(t){var e,n,i,a,s,l=t.data,u=t.len(),h=[],c=0,f=0,p=0,d=0;function g(t,n){e&&e.length>2&&h.push(e),e=[t,n]}function v(t,n,i,r){o(t,i)&&o(n,r)||e.push(t,n,i,r,i,r)}function y(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nk:D2&&h.push(e),h}function s(t,e,n,r,a,l,u,h,c,f){if(o(t,n)&&o(e,r)&&o(a,u)&&o(l,h))c.push(u,h);else{var p=2/f,d=p*p,g=u-t,v=h-e,y=Math.sqrt(g*g+v*v);g/=y,v/=y;var m=n-t,_=r-e,x=a-u,b=l-h,S=m*m+_*_,w=x*x+b*b;if(S=0&&w-T*T=0)c.push(u,h);else{var k=[],I=[];(0,i.Vz)(t,n,a,u,.5,k),(0,i.Vz)(e,r,l,h,.5,I),s(k[0],I[0],k[1],I[1],k[2],I[2],k[3],I[3],c,f),s(k[4],I[4],k[5],I[5],k[6],I[6],k[7],I[7],c,f)}}}}function l(t,e){var n=a(t),i=[];e=e||1;for(var r=0;r0)for(u=0;uMath.abs(u),c=f([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;d1?null:new o.Z(g*u+t,g*h+e)}function v(t,e,n){var i=new o.Z;o.Z.sub(i,n,e),i.normalize();var r=new o.Z;return o.Z.sub(r,t,e),r.dot(i)}function y(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function m(t){var e=t.points,n=[],a=[];(0,i.zk)(e,n,a);var s=new r.Z(n[0],n[1],a[0]-n[0],a[1]-n[1]),l=s.width,u=s.height,h=s.x,c=s.y,f=new o.Z,p=new o.Z;return l>u?(f.x=p.x=h+l/2,f.y=c,p.y=c+u):(f.y=p.y=c+u/2,f.x=h,p.x=h+l),function(t,e,n){for(var i=t.length,r=[],o=0;or,a=f([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p0)for(var M=i/n,T=-i/2;T<=i/2;T+=M){var k=Math.sin(T),I=Math.cos(T),C=0;for(S=0;S0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function M(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,a=(0,o.UI)(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return(0,o.UI)(a,(function(o,a){return{cp:o,z:w(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function T(t){return(0,u.V)(t.path,t.count)}function k(t,e,n){var i=[];!function t(e){for(var n=0;n1&&(a*=l(x),s*=l(x));var b=(r===o?-1:1)*l((a*a*(s*s)-a*a*(_*_)-s*s*(m*m))/(a*a*(_*_)+s*s*(m*m)))||0,S=b*a*_/s,w=b*-s*m/a,M=(t+n)/2+h(y)*S-u(y)*w,T=(e+i)/2+u(y)*S+h(y)*w,k=d([1,0],[(m-S)/a,(_-w)/s]),I=[(m-S)/a,(_-w)/s],C=[(-1*m-S)/a,(-1*_-w)/s],D=d(I,C);if(p(I,C)<=-1&&(D=c),p(I,C)>=1&&(D=0),D<0){var A=Math.round(D/c*1e6)/1e6;D=2*c+A%2*c}v.addData(g,M,T,a,s,k,D,y,o)}var v=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,y=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(r.ZP);function _(t){return null!=t.setData}function x(t,e){var n=function(t){var e=new o.Z;if(!t)return e;var n,i=0,r=0,a=i,s=r,l=o.Z.CMD,u=t.match(v);if(!u)return e;for(var h=0;h1&&r&&r.length>1){var a=f(r)/f(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},d="silent";function g(){h.sT(this.event)}var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,o.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(u.Z),y=function(t,e){this.x=t,this.y=e},m=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],_=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._hovered=new y(0,0),o.storage=e,o.painter=n,o.painterRoot=r,i=i||new v,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new l(o),o}return(0,o.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(r.S6(m,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=b(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new y(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new y(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:g}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new y(t,e),o=i.length-1;o>=0;o--){var a=void 0;if(i[o]!==n&&!i[o].ignore&&(a=x(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==d)){r.target=i[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new c);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new y;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(u.Z);function x(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||d}return!1}function b(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}r.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){_.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,s=b(this,r,o);if("mouseup"===t&&s||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||a.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var S=_,w=n("o/RO"),M=n("F5VV"),T=!1;function k(){T||(T=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function I(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var C=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=I}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(k(),u.z=0),isNaN(u.z2)&&(k(),u.z2=0),isNaN(u.zlevel)&&(k(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),D=n("lNlQ"),A=n("QgOg"),P=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n.onframe=e.onframe||function(){},n}return(0,o.ZT)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._clipsHead=n,n?n.prev=e:this._clipsTail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=(new Date).getTime()-this._pausedTime,n=e-this._time,i=this._clipsHead;i;){var r=i.next;i.step(e,n)?(i.ondestroy&&i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,D.Z)((function e(){t._running&&((0,D.Z)(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._clipsHead;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new A.ZP(t,e.loop);return this.addAnimator(n),n},e}(u.Z),L=i.Z.domSupported,O=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:t,touch:["touchstart","touchend","touchmove"],pointer:r.UI(t,(function(t){var n=t.replace("mouse","pointer");return e.hasOwnProperty(n)?n:t}))}}(),R=["mousemove","mouseup"],Z=["pointermove","pointerup"],z=!1;function N(t){var e=t.pointerType;return"pen"===e||"touch"===e}function B(t){t&&(t.zrByTouch=!0)}function F(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var E=function(t,e){this.stopPropagation=r.ZT,this.stopImmediatePropagation=r.ZT,this.preventDefault=r.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},V={mousedown:function(t){t=(0,h.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,h.OD)(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,h.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){F(this,(t=(0,h.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){z=!0,t=(0,h.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){z||(t=(0,h.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){B(t=(0,h.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),V.mousemove.call(this,t),V.mousedown.call(this,t)},touchmove:function(t){B(t=(0,h.OD)(this.dom,t)),this.handler.processGesture(t,"change"),V.mousemove.call(this,t)},touchend:function(t){B(t=(0,h.OD)(this.dom,t)),this.handler.processGesture(t,"end"),V.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&V.click.call(this,t)},pointerdown:function(t){V.mousedown.call(this,t)},pointermove:function(t){N(t)||V.mousemove.call(this,t)},pointerup:function(t){V.mouseup.call(this,t)},pointerout:function(t){N(t)||V.mouseout.call(this,t)}};r.S6(["click","dblclick","contextmenu"],(function(t){V[t]=function(e){e=(0,h.OD)(this.dom,e),this.trigger(t,e)}}));var j={pointermove:function(t){N(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function H(t,e){var n=e.domHandlers;i.Z.pointerEventsSupported?r.S6(O.pointer,(function(i){X(e,i,(function(e){n[i].call(t,e)}))})):(i.Z.touchEventsSupported&&r.S6(O.touch,(function(i){X(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),r.S6(O.mouse,(function(i){X(e,i,(function(r){r=(0,h.iP)(r),e.touching||n[i].call(t,r)}))})))}function G(t,e){function n(n){X(e,n,(function(i){i=(0,h.iP)(i),F(t,i.target)||(i=function(t,e){return(0,h.OD)(t.dom,new E(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}i.Z.pointerEventsSupported?r.S6(Z,n):i.Z.touchEventsSupported||r.S6(R,n)}function X(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,h.Oo)(t.domTarget,e,n,i)}function W(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,h.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var U=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Y=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new U(e,V),L&&(i._globalHandlerScope=new U(document,j)),H(i,i._localHandlerScope),i}return(0,o.ZT)(e,t),e.prototype.dispose=function(){W(this._localHandlerScope),L&&W(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,L&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?G(this,e):W(e)}},e}(u.Z),q=n("eFAM"),K=n("fA56"),J=n("MeQD"),Q=!i.Z.canvasSupported,$={},tt={};var et=function(){function t(t,e,n){var o=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var a=new C,s=n.renderer||"canvas";if(Q)throw new Error("IE8 support has been dropped since 5.0");if($[s]||(s=r.XP($)[0]),!$[s])throw new Error("Renderer '"+s+"' is not imported. Please import it first.");n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var l=new $[s](e,a,n,t);this.storage=a,this.painter=l;var u=i.Z.node||i.Z.worker?null:new Y(l.getViewportRoot(),l.root);this.handler=new S(a,l,u,l.root),this.animation=new P({stage:{update:function(){return o._flush(!0)}}}),this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"===typeof t)return(0,q.L0)(t,1)0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;ei.getWidth()||n<0||n>i.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(f,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=g(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:h}}(e,t,n);i&&(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(e,o),i=i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},o=i.length-1;o>=0;o--){var a;if(i[o]!==n&&!i[o].ignore&&(a=d(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==u)){r.target=i[o];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var n,i,o=e.zrX,a=e.zrY,s=g(this,o,a);if("mouseup"===t&&s||(i=(n=this.findHover(o,a)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),i.mixin(p,a),i.mixin(p,o);var v=p;t.exports=v},eFyM:function(t,e,n){var i=n("eBXX"),r=n("nF0C").devicePixelRatio,o=n("50vt"),a=n("f8/R");function s(){return!1}function l(t,e,n){var r=i.createCanvas(),o=e.getWidth(),a=e.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",r.setAttribute("data-zr-dom-id",t)),r.width=o*n,r.height=a*n,r}var u=function(t,e,n){var o;n=n||r,"string"===typeof t?o=l(t,e,n):i.isObject(t)&&(t=(o=t).id),this.id=t,this.dom=o;var a=o.style;a&&(o.onselectstart=s,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a.padding=0,a.margin=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,r=this.ctx,s=i.width,l=i.height,u=(e=e||this.clearColor,this.motionBlur&&!t),h=this.lastFrameAlpha,c=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/c,l/c)),r.clearRect(0,0,s,l),e&&"transparent"!==e)&&(e.colorStops?(n=e.__canvasGradient||o.getGradient(r,e,{x:0,y:0,width:s,height:l}),e.__canvasGradient=n):e.image&&(n=a.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=n||e,r.fillRect(0,0,s,l),r.restore());if(u){var f=this.domBack;r.save(),r.globalAlpha=h,r.drawImage(f,0,0,s,l),r.restore()}}};var h=u;t.exports=h},"5Plt":function(t,e,n){var i=n("nF0C").devicePixelRatio,r=n("eBXX"),o=n("nFNG"),a=n("u/Yf"),s=n("ywai"),l=n("eFyM"),u=n("H/PG"),h=n("43qG"),c=n("ONFv"),f=1e5,p=314159;function d(t){return parseInt(t,10)}var g=new a(0,0,0,0),v=new a(0,0,0,0);var y=function(t,e,n){this.type="canvas";var o=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=r.extend({},n||{}),this.dpr=n.devicePixelRatio||i,this._singleCanvas=o,this.root=t;var a=t.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,o){var h=t.width,c=t.height;null!=n.width&&(h=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var f=new l(t,this,this.dpr);f.__builtin__=!0,f.initContext(),u[314159]=f,f.zlevel=p,s.push(p),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var d=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(d)}this._hoverlayer=null,this._hoverElements=[]};y.prototype={constructor:y,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}l.__drawIndex=y,l.__drawIndex0&&t>i[0]){for(s=0;st);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i0?.01:0),this._needsManuallyCompositing),s.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+s.id),s!==i&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.incremental?s.__drawIndex=-1:s.__drawIndex=n,e(n),i=s),a.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?r.merge(n[t],e,!0):n[t]=e;for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},l1eN:function(t,e,n){var i=n("eBXX"),r=n("+hgp").Dispatcher,o=n("H/PG"),a=n("ylh1"),s=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};s.prototype={constructor:s,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n.5?e:t}function c(t,e,n,i,r){var o=t.length;if(1===r)for(var a=0;ar)t.length=r;else for(var o=i;o=0&&!(I[n]<=e);n--);n=Math.min(n,x-2)}else{for(n=E;ne);n++);n=Math.min(n-1,x-2)}E=n,V=e;var i=I[n+1]-I[n];if(0!==i)if(Z=(e-I[n])/i,_)if(N=C[n],z=C[0===n?n:n-1],B=C[n>x-2?x-1:n+1],F=C[n>x-3?x-1:n+2],w)d(z,N,B,F,Z,Z*Z,Z*Z*Z,v(t,s),k);else{if(M)r=d(z,N,B,F,Z,Z*Z,Z*Z*Z,j,1),r=y(j);else{if(T)return h(N,B,Z);r=g(z,N,B,F,Z,Z*Z,Z*Z*Z)}m(t,s,r)}else if(w)c(C[n],C[n+1],Z,v(t,s),k);else{var r;if(M)c(C[n],C[n+1],Z,j,1),r=y(j);else{if(T)return h(C[n],C[n+1],Z);r=u(C[n],C[n+1],Z)}m(t,s,r)}},ondestroy:n});return e&&"spline"!==e&&(H.easing=e),H}}}var _=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=i||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:v(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;tn||f+ca&&(a+=r);var d=Math.atan2(h,u);return d<0&&(d+=r),d>=o&&d<=a||d+r>=o&&d+r<=a}},"77SN":function(t,e,n){var i=n("duZc");e.containStroke=function(t,e,n,r,o,a,s,l,u,h,c){if(0===u)return!1;var f=u;return!(c>e+f&&c>r+f&&c>a+f&&c>l+f||ct+f&&h>n+f&&h>o+f&&h>s+f||he+s&&a>i+s||at+s&&o>n+s||oe&&h>i&&h>o&&h>s||h1&&g(),f=u.cubicAt(e,i,o,s,d[0]),m>1&&(v=u.cubicAt(e,i,o,s,d[1]))),2===m?xe&&s>i&&s>o||s=0&&h<=1){for(var c=0,f=u.quadraticAt(e,i,o,h),d=0;dn||s<-n)return 0;var u=Math.sqrt(n*n-s*s);p[0]=-u,p[1]=u;var h=Math.abs(i-r);if(h<1e-4)return 0;if(h%f<1e-4){i=0,r=f;var c=o?1:-1;return a>=p[0]+t&&a<=p[1]+t?c:0}if(o){u=i;i=l(r),r=l(u)}else i=l(i),r=l(r);i>r&&(r+=f);for(var d=0,g=0;g<2;g++){var v=p[g];if(v+t>a){var y=Math.atan2(s,v);c=o?1:-1;y<0&&(y=f+y),(y>=i&&y<=r||y+f>=i&&y+f<=r)&&(y>Math.PI/2&&y<1.5*Math.PI&&(c=-c),d+=c)}}return d}function _(t,e,n,i,l){for(var u,f,p=0,d=0,g=0,_=0,x=0,b=0;b1&&(n||(p+=h(d,g,_,x,i,l))),1===b&&(_=d=t[b],x=g=t[b+1]),S){case c.M:d=_=t[b++],g=x=t[b++];break;case c.L:if(n){if(r.containStroke(d,g,t[b],t[b+1],e,i,l))return!0}else p+=h(d,g,t[b],t[b+1],i,l)||0;d=t[b++],g=t[b++];break;case c.C:if(n){if(o.containStroke(d,g,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],e,i,l))return!0}else p+=v(d,g,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],i,l)||0;d=t[b++],g=t[b++];break;case c.Q:if(n){if(a.containStroke(d,g,t[b++],t[b++],t[b],t[b+1],e,i,l))return!0}else p+=y(d,g,t[b++],t[b++],t[b],t[b+1],i,l)||0;d=t[b++],g=t[b++];break;case c.A:var w=t[b++],M=t[b++],T=t[b++],k=t[b++],I=t[b++],C=t[b++];b+=1;var D=1-t[b++],A=Math.cos(I)*T+w,P=Math.sin(I)*k+M;b>1?p+=h(d,g,A,P,i,l):(_=A,x=P);var L=(i-w)*k/T+w;if(n){if(s.containStroke(w,M,k,I,I+C,D,e,L,l))return!0}else p+=m(w,M,k,I,I+C,D,L,l);d=Math.cos(I+C)*T+w,g=Math.sin(I+C)*k+M;break;case c.R:_=d=t[b++],x=g=t[b++];A=_+t[b++],P=x+t[b++];if(n){if(r.containStroke(_,x,A,x,e,i,l)||r.containStroke(A,x,A,P,e,i,l)||r.containStroke(A,P,_,P,e,i,l)||r.containStroke(_,P,_,x,e,i,l))return!0}else p+=h(A,x,A,P,i,l),p+=h(_,P,_,x,i,l);break;case c.Z:if(n){if(r.containStroke(d,g,_,x,e,i,l))return!0}else p+=h(d,g,_,x,i,l);d=_,g=x}}return n||(u=g,f=x,Math.abs(u-f)<1e-4)||(p+=h(d,g,_,x,i,l)||0),0!==p}e.contain=function(t,e,n){return _(t,0,!1,e,n)},e.containStroke=function(t,e,n,i){return _(t,e,!0,n,i)}},ODq1:function(t,e,n){var i=n("7Yq6");function r(t,e){return Math.abs(t-e)<1e-8}e.contain=function(t,e,n){var o=0,a=t[0];if(!a)return!1;for(var s=1;se+h&&u>r+h&&u>a+h||ut+h&&l>n+h&&l>o+h||l5e3&&(f=0,c={}),f++,c[n]=r,r}function y(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function m(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function _(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,h="left",c="top";switch(i){case"left":o-=r,a+=u,h="right",c="middle";break;case"right":o+=r+l,a+=u,c="middle";break;case"top":o+=l/2,a-=r,h="center",c="bottom";break;case"bottom":o+=l/2,a+=s+r,h="center";break;case"inside":o+=l/2,a+=u,h="center",c="middle";break;case"insideLeft":o+=r,a+=u,c="middle";break;case"insideRight":o+=l-r,a+=u,h="right",c="middle";break;case"insideTop":o+=l/2,a+=r,h="center";break;case"insideBottom":o+=l/2,a+=s-r,h="center",c="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,h="right";break;case"insideBottomLeft":o+=r,a+=s-r,c="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,h="right",c="bottom"}return(t=t||{}).x=o,t.y=a,t.textAlign=h,t.textVerticalAlign=c,t}function x(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=b(e,n,i,r);for(var a=0,s=o.length;a=o;u++)a-=o;var h=v(n,e);return h>a&&(n="",h=0),a=t-h,i.ellipsis=n,i.ellipsisWidth=h,i.contentWidth=a,i.containerWidth=t,i}function S(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=v(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?w(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=v(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function w(t,e,n,i){for(var r=0,o=0,a=t.length;oc)t="",a=[];else if(null!=f)for(var p=b(f-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),d=0,g=a.length;do&&C(n,t.substring(o,a)),C(n,i[2],i[1]),o=p.lastIndex}om)return{lines:[],width:0,height:0};N.textWidth=v(N.text,D);var P=k.textWidth,L=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))N.percentWidth=P,f.push(N),P=0;else{if(L){P=N.textWidth;var O=k.textBackgroundColor,R=O&&O.image;R&&(R=r.findExistImage(R),r.isImageReady(R)&&(P=Math.max(P,R.width*A/R.height)))}var Z=I?I[1]+I[3]:0;P+=Z;var z=null!=y?y-w:null;null!=z&&ze&&o>i||or?a:0}},"6HlL":function(t,e,n){var i=n("eBXX"),r=n("Bj1M"),o=n("u/Yf"),a=function(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof a&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,r=this._children,o=i.indexOf(r,t);return o<0||(r.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof a&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},h1KL:function(t,e,n){var i=n("+hgp"),r=function(){this._track=[]};function o(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}r.prototype={constructor:r,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var r=t.touches;if(r){for(var o={points:[],touches:[],target:e,event:t},a=0,s=r.length;a1&&r&&r.length>1){var s=o(r)/o(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},s=r;t.exports=s},"6WCU":function(t){var e=function(){this.head=null,this.tail=null,this._len=0},n=e.prototype;n.insert=function(t){var e=new i(t);return this.insertEntry(e),e},n.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},n.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var i=function(t){this.value=t,this.next,this.prev},r=function(t){this._list=new e,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=r.prototype;o.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},o.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var a=r;t.exports=a},q6Se:function(t,e,n){var i=n("duZc"),r=n("dJzI"),o=n("kcAC"),a=n("u/Yf"),s=n("nF0C").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],h=[],c=[],f=[],p=Math.min,d=Math.max,g=Math.cos,v=Math.sin,y=Math.sqrt,m=Math.abs,_="undefined"!==typeof Float32Array,x=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};x.prototype={constructor:x,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=m(n/s/t)||0,this._uy=m(n/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=m(t-this._xi)>this._ux||m(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,o){return this.addData(l.C,t,e,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(t,e,n,i){return this.addData(l.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,o){return this.addData(l.A,t,e,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=g(r)*n+t,this._yi=v(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(l.R,t,e,n,i),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||h<0&&g>=t||0===h&&(c>0&&v<=e||c<0&&v>=e);)g+=h*(n=a[i=this._dashIdx]),v+=c*n,this._dashIdx=(i+1)%m,h>0&&gl||c>0&&vu||s[i%2?"moveTo":"lineTo"](h>=0?p(g,t):d(g,t),c>=0?p(v,e):d(v,e));h=g-t,c=v-e,this._dashOffset=-y(h*h+c*c)},_dashedBezierTo:function(t,e,n,r,o,a){var s,l,u,h,c,f=this._dashSum,p=this._dashOffset,d=this._lineDash,g=this._ctx,v=this._xi,m=this._yi,_=i.cubicAt,x=0,b=this._dashIdx,S=d.length,w=0;for(p<0&&(p=f+p),p%=f,s=0;s<1;s+=.1)l=_(v,t,n,o,s+.1)-_(v,t,n,o,s),u=_(m,e,r,a,s+.1)-_(m,e,r,a,s),x+=y(l*l+u*u);for(;bp);b++);for(s=(w-p)/x;s<=1;)h=_(v,t,n,o,s),c=_(m,e,r,a,s),b%2?g.moveTo(h,c):g.lineTo(h,c),s+=d[b]/x,b=(b+1)%S;b%2!==0&&g.lineTo(o,a),l=o-h,u=a-c,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=c[0]=c[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,p=0;pu||m(a-r)>h||f===c-1)&&(t.lineTo(o,a),i=o,r=a);break;case l.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),i=s[f-2],r=s[f-1];break;case l.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),i=s[f-2],r=s[f-1];break;case l.A:var d=s[f++],y=s[f++],_=s[f++],x=s[f++],b=s[f++],S=s[f++],w=s[f++],M=s[f++],T=_>x?_:x,k=_>x?1:_/x,I=_>x?x/_:1,C=b+S;Math.abs(_-x)>.001?(t.translate(d,y),t.rotate(w),t.scale(k,I),t.arc(0,0,T,b,C,1-M),t.scale(1/k,1/I),t.rotate(-w),t.translate(-d,-y)):t.arc(d,y,T,b,C,1-M),1===f&&(e=g(b)*_+d,n=v(b)*x+y),i=g(C)*_+d,r=v(C)*x+y;break;case l.R:e=i=s[f],n=r=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case l.Z:t.closePath(),i=e,r=n}}}},x.CMD=l;var b=x;t.exports=b},kcAC:function(t,e,n){var i=n("dJzI"),r=n("duZc"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=i.create(),c=i.create(),f=i.create();var p=[],d=[];e.fromPoints=function(t,e,n){if(0!==t.length){var i,r=t[0],s=r[0],l=r[0],u=r[1],h=r[1];for(i=1;i1e-4)return d[0]=t-n,d[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(h[0]=l(o)*n+t,h[1]=s(o)*r+e,c[0]=l(a)*n+t,c[1]=s(a)*r+e,v(d,h,c),y(g,h,c),(o%=u)<0&&(o+=u),(a%=u)<0&&(a+=u),o>a&&!p?a+=u:oo&&(f[0]=l(x)*n+t,f[1]=s(x)*r+e,v(d,f,d),y(g,f,g))}},duZc:function(t,e,n){var i=n("dJzI"),r=i.create,o=i.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,h=s(3),c=1/3,f=r(),p=r(),d=r();function g(t){return t>-1e-8&&tl||t<-1e-8}function y(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function m(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}e.cubicAt=y,e.cubicDerivativeAt=function(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)},e.cubicRootAt=function(t,e,n,i,r,o){var l=i+3*(e-n)-t,u=3*(n-2*e+t),f=3*(e-t),p=t-r,d=u*u-3*l*f,v=u*f-9*l*p,y=f*f-3*u*p,m=0;if(g(d)&&g(v)){if(g(u))o[0]=0;else(D=-f/u)>=0&&D<=1&&(o[m++]=D)}else{var _=v*v-4*d*y;if(g(_)){var x=v/d,b=-x/2;(D=-u/l+x)>=0&&D<=1&&(o[m++]=D),b>=0&&b<=1&&(o[m++]=b)}else if(_>0){var S=s(_),w=d*u+1.5*l*(-v+S),M=d*u+1.5*l*(-v-S);(D=(-u-((w=w<0?-a(-w,c):a(w,c))+(M=M<0?-a(-M,c):a(M,c))))/(3*l))>=0&&D<=1&&(o[m++]=D)}else{var T=(2*d*u-3*l*v)/(2*s(d*d*d)),k=Math.acos(T)/3,I=s(d),C=Math.cos(k),D=(-u-2*I*C)/(3*l),A=(b=(-u+I*(C+h*Math.sin(k)))/(3*l),(-u+I*(C-h*Math.sin(k)))/(3*l));D>=0&&D<=1&&(o[m++]=D),b>=0&&b<=1&&(o[m++]=b),A>=0&&A<=1&&(o[m++]=A)}}return m},e.cubicExtrema=function(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(g(a)){if(v(o))(c=-l/o)>=0&&c<=1&&(r[u++]=c)}else{var h=o*o-4*a*l;if(g(h))r[0]=-o/(2*a);else if(h>0){var c,f=s(h),p=(-o-f)/(2*a);(c=(-o+f)/(2*a))>=0&&c<=1&&(r[u++]=c),p>=0&&p<=1&&(r[u++]=p)}}return u},e.cubicSubdivide=function(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i},e.cubicProjectPoint=function(t,e,n,i,r,a,l,h,c,g,v){var m,_,x,b,S,w=.005,M=1/0;f[0]=c,f[1]=g;for(var T=0;T<1;T+=.05)p[0]=y(t,n,r,l,T),p[1]=y(e,i,a,h,T),(b=o(f,p))=0&&b=0&&c<=1&&(r[u++]=c)}else{var h=a*a-4*o*l;if(g(h))(c=-a/(2*o))>=0&&c<=1&&(r[u++]=c);else if(h>0){var c,f=s(h),p=(-a-f)/(2*o);(c=(-a+f)/(2*o))>=0&&c<=1&&(r[u++]=c),p>=0&&p<=1&&(r[u++]=p)}}return u},e.quadraticExtremum=function(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i},e.quadraticSubdivide=function(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n},e.quadraticProjectPoint=function(t,e,n,i,r,a,l,h,c){var g,v=.005,y=1/0;f[0]=l,f[1]=h;for(var _=0;_<1;_+=.05){p[0]=m(t,n,r,_),p[1]=m(e,i,a,_),(w=o(f,p))=0&&w>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),h=function(t,e,n){for(var i=n?"invTrans":"trans",o=e[i],a=e.srcCoords,s=!0,l=[],u=[],h=0;h<4;h++){var c=t[h].getBoundingClientRect(),f=2*h,p=c.left,d=c.top;l.push(p,d),s=s&&a&&p===a[f]&&d===a[f+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return s&&o?o:(e.srcCoords=l,e[i]=n?r(u,l):r(l,u))}(u,l,a);if(h)return h(t,n,o),!0}return!1}function s(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,r){return a(o,e,i,r,!0)&&a(t,n,o[0],o[1])},e.transformCoordWithViewport=a,e.isCanvasEl=s},ONFv:function(t){var e="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:function(t){var e={},n={},i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1]);a&&(n.weChat=!0);return{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}(navigator.userAgent);t.exports=e},"+hgp":function(t,e,n){var i=n("6dov");e.Dispatcher=i;var r=n("ONFv"),o=n("FObb"),a=o.isCanvasEl,s=o.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,h=[];function c(t,e,n,i){return n=n||{},i||!r.canvasSupported?f(t,e,n):r.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):f(t,e,n),n}function f(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(a(t)){var l=t.getBoundingClientRect();return n.zrX=i-l.left,void(n.zrY=o-l.top)}if(s(h,t,i,o))return n.zrX=h[0],void(n.zrY=h[1])}n.zrX=n.zrY=0}function p(t){return t||window.event}var d=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};e.clientToLocal=c,e.getNativeEvent=p,e.normalizeEvent=function(t,e,n){if(null!=(e=p(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&c(t,r,e,n)}else c(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&u.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},e.addEventListener=function(t,e,n,i){l?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n,i){l?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)},e.stop=d,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return t.which>1}},kUe4:function(t,e){var n=Math.log(2);function i(t,e,r,o,a,s){var l=o+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<=0;)r++;return r-e}function n(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function i(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function r(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function o(t,e){var n,o,a,s=7,l=0;n=t.length;var u=[];function h(n){var h=o[n],c=a[n],f=o[n+1],p=a[n+1];a[n]=c+p,n===l-3&&(o[n+1]=o[n+2],a[n+1]=a[n+2]),l--;var d=r(t[f],t,h,c,0,e);h+=d,0!==(c-=d)&&0!==(p=i(t[h+c-1],t,f,p,p-1,e))&&(c<=p?function(n,o,a,l){var h=0;for(h=0;h=7||g>=7);if(v)break;y<0&&(y=0),y+=2}if((s=y)<1&&(s=1),1===o){for(h=0;h=0;h--)t[g+h]=t[d+h];return void(t[p]=u[f])}var v=s;for(;;){var y=0,m=0,_=!1;do{if(e(u[f],t[c])<0){if(t[p--]=t[c--],y++,m=0,0===--o){_=!0;break}}else if(t[p--]=u[f--],m++,y=0,1===--l){_=!0;break}}while((y|m)=0;h--)t[g+h]=t[d+h];if(0===o){_=!0;break}}if(t[p--]=u[f--],1===--l){_=!0;break}if(0!==(m=l-i(t[c],u,0,l,l-1,e))){for(l-=m,g=(p-=m)+1,d=(f-=m)+1,h=0;h=7||m>=7);if(_)break;v<0&&(v=0),v+=2}(s=v)<1&&(s=1);if(1===l){for(g=(p-=o)+1,d=(c-=o)+1,h=o-1;h>=0;h--)t[g+h]=t[d+h];t[p]=u[f]}else{if(0===l)throw new Error;for(d=p-(l-1),h=0;h1;){var t=l-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;h(t)}},this.forceMergeRuns=function(){for(;l>1;){var t=l-2;t>0&&a[t-1]=32;)e|=1&t,t>>=1;return t+e}(s);do{if((l=e(t,r,a,i))h&&(c=h),n(t,r,r+c,r+l,i),l=c}u.pushRun(r,l),u.mergeRuns(),s-=l,r+=l}while(0!==s);u.forceMergeRuns()}}}},eBXX:function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,u=o.map,h=o.reduce,c={};function f(t){if(null==t||"object"!==typeof t)return t;var e=t,o=r.call(t);if("[object Array]"===o){if(!M(t)){e=[];for(var a=0,s=t.length;a1e-10&&(r.width+=a/s,r.height+=a/s,r.x-=a/s/2,r.y-=a/s/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(r.hasFill())return a.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(r.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in r.inherits(e,h),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},r.inherits(h,i);var c=h;t.exports=c},"f8/R":function(t){var e=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};e.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var n=e;t.exports=n},w6NS:function(t,e,n){var i=n("eBXX"),r=n("UmB9"),o=function(t,e,n,i,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,r.call(this,i)};o.prototype={constructor:o},i.inherits(o,r);var a=o;t.exports=a},"50vt":function(t,e,n){var i=n("6grI"),r=n("yL1F").ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],a=function(t){this.extendFrom(t,!1)};function s(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a,t.createLinearGradient(i,o,r,a)}function l(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),t.createRadialGradient(a,s,0,a,s,l)}for(var u=a.prototype={constructor:a,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var a=this,s=n&&n.style,l=!s||t.__attrCachedBy!==r.STYLE_BIND;t.__attrCachedBy=r.STYLE_BIND;for(var u=0;u0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i=("radial"===e.type?l:s)(t,e,n),r=e.colorStops,o=0;o=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var o=0;o=2){if(a&&"spline"!==a){var s=r(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var h=s[2*u],c=s[2*u+1],f=o[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],f[0],f[1])}}else{"spline"===a&&(o=i(o,n)),t.moveTo(o[0][0],o[0][1]);u=1;for(var p=o.length;uu&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},"v+RZ":function(t,e,n){var i=n("dJzI"),r=i.min,o=i.max,a=i.scale,s=i.distance,l=i.add,u=i.clone,h=i.sub;t.exports=function(t,e,n,i){var c,f,p,d,g=[],v=[],y=[],m=[];if(i){p=[1/0,1/0],d=[-1/0,-1/0];for(var _=0,x=t.length;_n-2?n-1:p+1],c=t[p>n-3?n-1:p+2]);var v=d*d,y=d*v;o.push([r(u[0],g[0],h[0],c[0],d,v,y),r(u[1],g[1],h[1],c[1],d,v,y)])}return o}},hoaQ:function(t,e){var n=Math.round;function i(t,e,i){if(!e)return t;var r=n(2*t);return(r+n(e))%2===0?r/2:(r+(i?1:-1))/2}e.subPixelOptimizeLine=function(t,e,r){if(e){var o=e.x1,a=e.x2,s=e.y1,l=e.y2;t.x1=o,t.x2=a,t.y1=s,t.y2=l;var u=r&&r.lineWidth;u&&(n(2*o)===n(2*a)&&(t.x1=t.x2=i(o,u,!0)),n(2*s)===n(2*l)&&(t.y1=t.y2=i(s,u,!0)))}},e.subPixelOptimizeRect=function(t,e,n){if(e){var r=e.x,o=e.y,a=e.width,s=e.height;t.x=r,t.y=o,t.width=a,t.height=s;var l=n&&n.lineWidth;l&&(t.x=i(r,l,!0),t.y=i(o,l,!0),t.width=Math.max(i(r+a,l,!1)-t.x,0===a?0:1),t.height=Math.max(i(o+s,l,!1)-t.y,0===s?0:1))}},e.subPixelOptimize=i},"2MSq":function(t,e,n){var i=n("eBXX"),r=i.retrieve2,o=i.retrieve3,a=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,h=n("wSal"),c=n("3dWU"),f=n("I24Y"),p=n("6grI"),d=n("yL1F"),g=d.ContextCachedBy,v=d.WILL_BE_RESTORED,y=h.DEFAULT_FONT,m={left:1,right:1,center:1},_={top:1,bottom:1,middle:1},x=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},S={};function w(t){if(t){t.font=h.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||m[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||_[n]?n:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function M(t,e,n,i,r){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function T(t,e,n,i,a,s,l,u){var h=i.rich[n.styleName]||{};h.text=n.text;var c=n.textVerticalAlign,f=s+a/2;"top"===c?f=s+n.height/2:"bottom"===c&&(f=s+a-n.height/2),!n.isLineHolder&&k(h)&&I(t,e,h,"right"===u?l-n.width:"center"===u?l-n.width/2:l,f-n.height/2,n.width,n.height);var p=n.textPadding;p&&(l=R(l,u,p),f-=n.height/2-p[2]-n.textHeight/2),A(e,"shadowBlur",o(h.textShadowBlur,i.textShadowBlur,0)),A(e,"shadowColor",h.textShadowColor||i.textShadowColor||"transparent"),A(e,"shadowOffsetX",o(h.textShadowOffsetX,i.textShadowOffsetX,0)),A(e,"shadowOffsetY",o(h.textShadowOffsetY,i.textShadowOffsetY,0)),A(e,"textAlign",u),A(e,"textBaseline","middle"),A(e,"font",n.font||y);var d=P(h.textStroke||i.textStroke,v),g=L(h.textFill||i.textFill),v=r(h.textStrokeWidth,i.textStrokeWidth);d&&(A(e,"lineWidth",v),A(e,"strokeStyle",d),e.strokeText(n.text,l,f)),g&&(A(e,"fillStyle",g),e.fillText(n.text,l,f))}function k(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function I(t,e,n,i,r,o,a){var s=n.textBackgroundColor,h=n.textBorderWidth,p=n.textBorderColor,d=l(s);if(A(e,"shadowBlur",n.textBoxShadowBlur||0),A(e,"shadowColor",n.textBoxShadowColor||"transparent"),A(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),A(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),d||h&&p){e.beginPath();var g=n.textBorderRadius;g?c.buildPath(e,{x:i,y:r,width:o,height:a,r:g}):e.rect(i,r,o,a),e.closePath()}if(d)if(A(e,"fillStyle",s),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var y=s.image;(y=f.createOrUpdateImage(y,null,t,C,s))&&f.isImageReady(y)&&e.drawImage(y,i,r,o,a)}if(h&&p)if(A(e,"lineWidth",h),A(e,"strokeStyle",p),null!=n.strokeOpacity){v=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function C(t,e){e.image=t}function D(t,e,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+O(l[0],i.width),o=i.y+O(l[1],i.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(b,n,i):h.calculateTextPosition(b,n,i);r=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var c=n.textOffset;c&&(r+=c[0],o+=c[1])}return(t=t||{}).baseX=r,t.baseY=o,t.textAlign=a,t.textVerticalAlign=s,t}function A(t,e,n){return t[e]=p(t,e,n),t[e]}function P(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function R(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return w(t),a(t.rich,w),t},e.renderText=function(t,e,n,i,r,o){i.rich?function(t,e,n,i,r,o){o!==v&&(e.__attrCachedBy=g.NONE);var a=t.__textCotentBlock;a&&!t.__dirtyText||(a=t.__textCotentBlock=h.parseRichText(n,i));!function(t,e,n,i,r){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=D(S,t,i,r),c=u.baseX,f=u.baseY,p=u.textAlign,d=u.textVerticalAlign;M(e,i,r,c,f);var g=h.adjustTextX(c,a,p),v=h.adjustTextY(f,s,d),y=g,m=v;l&&(y+=l[3],m+=l[0]);var _=y+o;k(i)&&I(t,e,i,g,v,a,s);for(var x=0;x=0&&"right"===(b=C[z]).textAlign;)T(t,e,b,i,P,m,Z,"right"),L-=b.width,Z-=b.width,z--;for(R+=(o-(R-y)-(_-Z)-L)/2;O<=z;)T(t,e,b=C[O],i,P,m,R+b.width/2,"center"),R+=b.width,O++;m+=P}}(t,e,a,i,r)}(t,e,n,i,r,o):function(t,e,n,i,r,o){"use strict";var a,s=k(i),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;o!==v?(o&&(a=o.style,l=!s&&u&&a),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var c=i.font||y;l&&c===(a.font||y)||(e.font=c);var f=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,f=t.__computedFont=e.font);var d=i.textPadding,m=i.textLineHeight,_=t.__textCotentBlock;_&&!t.__dirtyText||(_=t.__textCotentBlock=h.parsePlainText(n,f,d,m,i.truncate));var b=_.outerHeight,w=_.lines,T=_.lineHeight,C=D(S,t,i,r),A=C.baseX,O=C.baseY,Z=C.textAlign||"left",z=C.textVerticalAlign;M(e,i,r,A,O);var N=h.adjustTextY(O,b,z),B=A,F=N;if(s||d){var E=h.getWidth(n,f);d&&(E+=d[1]+d[3]);var V=h.adjustTextX(A,E,Z);s&&I(t,e,i,V,N,E,b),d&&(B=R(A,Z,d),F+=d[0])}e.textAlign=Z,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var j=0;j0&&t.animate(e,!1).when(null==r?500:r,s).delay(o||0)}function d(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}c.prototype={constructor:c,animate:function(t,e){var n,o=!1,a=this,s=this.__zr;if(t){var l=t.split("."),u=a;o="shape"===l[0];for(var c=0,f=l.length;c3&&(r=e.call(r,1));for(var a=n.length,s=0;s4&&(r=e.call(r,1,r.length-1));for(var a=r[r.length-1],s=n.length,l=0;la||t<-5e-5}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var h=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;if(n||e){r=r||i.create(),n?this.getLocalTransform(r):o(r),e&&(n?i.mul(r,t.transform,r):i.copy(r,t.transform)),this.transform=r;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(h);var s=h[0]<0?-1:1,l=h[1]<0?-1:1,u=((h[0]-s)*a+s)/h[0]||0,c=((h[1]-l)*a+l)/h[1]||0;r[0]*=u,r[1]*=u,r[2]*=c,r[3]*=c}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&o(r)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],f=i.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,r=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(c,t.invTransform,e),e=c);var n=this.origin;n&&(n[0]||n[1])&&(f[4]=n[0],f[5]=n[1],i.mul(c,e,f),c[4]-=n[0],c[5]-=n[1],e=c),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},u.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},l.getLocalTransform=function(t,e){o(e=e||[]);var n=t.origin,r=t.scale||[1,1],a=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,r),a&&i.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var p=l;t.exports=p},JUXE:function(t,e,n){var i=n("6WCU"),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return(t=Math.round(t))<0?0:t>255?255:t}function a(t){return t<0?0:t>1?1:t}function s(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i(20),d=null;function g(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function v(t,e){if(t){e=e||[];var n=p.get(t);if(n)return f(e,n);var i,o=(t+="").replace(/ /g,"").toLowerCase();if(o in r)return f(e,r[o]),g(t,e),e;if("#"===o.charAt(0))return 4===o.length?(i=parseInt(o.substr(1),16))>=0&&i<=4095?(c(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,1),g(t,e),e):void c(e,0,0,0,1):7===o.length?(i=parseInt(o.substr(1),16))>=0&&i<=16777215?(c(e,(16711680&i)>>16,(65280&i)>>8,255&i,1),g(t,e),e):void c(e,0,0,0,1):void 0;var a=o.indexOf("("),u=o.indexOf(")");if(-1!==a&&u+1===o.length){var h=o.substr(0,a),d=o.substr(a+1,u-(a+1)).split(","),v=1;switch(h){case"rgba":if(4!==d.length)return void c(e,0,0,0,1);v=l(d.pop());case"rgb":return 3!==d.length?void c(e,0,0,0,1):(c(e,s(d[0]),s(d[1]),s(d[2]),v),g(t,e),e);case"hsla":return 4!==d.length?void c(e,0,0,0,1):(d[3]=l(d[3]),y(d,e),g(t,e),e);case"hsl":return 3!==d.length?void c(e,0,0,0,1):(y(d,e),g(t,e),e);default:return}}c(e,0,0,0,1)}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),r=l(t[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return c(e=e||[],o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=e[r],u=e[s],c=i-r;return n[0]=o(h(l[0],u[0],c)),n[1]=o(h(l[1],u[1],c)),n[2]=o(h(l[2],u[2],c)),n[3]=a(h(l[3],u[3],c)),n}}var _=m;function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),s=Math.ceil(i),l=v(e[r]),u=v(e[s]),c=i-r,f=S([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),a(h(l[3],u[3],c))],"rgba");return n?{color:f,leftIndex:r,rightIndex:s,value:i}:f}}var b=x;function S(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=v,e.lift=function(t,e){var n=v(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return S(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=m,e.fastMapToColor=_,e.lerp=x,e.mapToColor=b,e.modifyHSL=function(t,e,n,i){if(t=v(t))return t=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,f=((s-o)/6+l/2)/l;i===s?e=f-c:r===s?e=1/3+h-f:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(t[1]=l(n)),null!=i&&(t[2]=l(i)),S(y(t),"rgba");var r},e.modifyAlpha=function(t,e){if((t=v(t))&&null!=e)return t[3]=a(e),S(t,"rgba")},e.stringify=S},FvE6:function(t,e,n){var i=n("6HlL"),r=n("43qG"),o=n("8Byw"),a=n("6xQX"),s=n("R1Og"),l=n("w2Yp"),u=n("o6UL"),h=n("gJKR"),c=n("N+/7"),f=n("kO+n"),p=n("QsFf"),d=n("50vt"),g=n("cz2z"),v=n("YcC2").createFromString,y=n("eBXX"),m=y.isString,_=y.extend,x=y.defaults,b=y.trim,S=y.each,w=/[\s,]+/;function M(t){m(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function T(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}T.prototype.parse=function(t,e){e=e||{};var n=M(t);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),P(n,r,null,!0);for(var u,h,c=n.firstChild;c;)this._parseNode(c,r),c=c.nextSibling;if(o){var f=b(o).split(w);f.length>=4&&(u={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(u&&null!=a&&null!=l&&(h=z(u,a,l),!e.ignoreViewBox)){var p=r;(r=new i).add(p),p.scale=h.scale.slice(),p.position=h.position.slice()}return e.ignoreRootClip||null==a||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:r,width:a,height:l,viewBoxRect:u,viewBoxTransform:h}},T.prototype._parseNode=function(t,e){var n,i,r=t.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){if(i=I[r]){var o=i.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else(i=k[r])&&(n=i.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},T.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new o({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});C(e,r),P(t,r,this._defs);var a=r.style.fontSize;a&&a<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=a/9,r.scale[1]*=a/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var k={g:function(t,e){var n=new i;return C(e,n),P(t,n,this._defs),n},rect:function(t,e){var n=new s;return C(e,n),P(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new a;return C(e,n),P(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return C(e,n),P(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return C(e,n),P(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=D(n));var i=new c({shape:{points:n||[]}});return C(e,i),P(t,i,this._defs),i},polyline:function(t,e){var n=new h;C(e,n),P(t,n,this._defs);var i=t.getAttribute("points");return i&&(i=D(i)),new f({shape:{points:i||[]}})},image:function(t,e){var n=new r;return C(e,n),P(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,r=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(r)+parseFloat(a);var s=new i;return C(e,s),P(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,s=new i;return C(e,s),P(t,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",i=v(n);return C(e,i),P(t,i,this._defs),i}},I={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),o=new p(e,n,i,r);return function(t,e){var n=t.firstChild;for(;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}(t,o),o},radialgradient:function(t){}};function C(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),x(e.__inheritedStyle,t.__inheritedStyle))}function D(t){for(var e=b(t).split(w),n=[],i=0;i0;o-=2){var a=r[o],s=r[o-1];switch(i=i||g.create(),s){case"translate":a=b(a).split(w),g.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=b(a).split(w),g.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=b(a).split(w),g.rotate(i,i,parseFloat(a[0]));break;case"skew":a=b(a).split(w),console.warn("Skew transform is not supported yet");break;case"matrix":a=b(a).split(w);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5])}}e.setLocalTransform(i)}}(t,e),_(r,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};Z.lastIndex=0;for(;null!=(i=Z.exec(e));)r[i[1]]=i[2];for(var o in A)A.hasOwnProperty(o)&&null!=r[o]&&(n[A[o]]=r[o]);return n}(t)),!i))for(var a in A)if(A.hasOwnProperty(a)){var s=t.getAttribute(a);null!=s&&(r[A[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";e.style=e.style||new d;var h=e.style;null!=r.fill&&h.set(l,O(r.fill,n)),null!=r.stroke&&h.set(u,O(r.stroke,n)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&o?"textStrokeWidth":t;null!=r[t]&&h.set(e,parseFloat(r[t]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=r[t]&&h.set(t,r[t])})),r.lineDash&&(e.style.lineDash=b(r.lineDash).split(w)),h[u]&&"none"!==h[u]&&(e[u]=!0),e.__inheritedStyle=r}var L=/url\(\s*#(.*?)\)/;function O(t,e){var n=e&&t&&t.match(L);return n?e[b(n[1])]:t}var R=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;var Z=/([^\s:;]+)\s*:\s*([^:;]+)/g;function z(t,e,n){var i=e/t.width,r=n/t.height,o=Math.min(i,r);return{scale:[o,o],position:[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2]}}e.parseXML=M,e.makeViewBoxTransform=z,e.parseSVG=function(t,e){return(new T).parse(t,e)}},YcC2:function(t,e,n){var i=n("gJKR"),r=n("q6Se"),o=n("2LGk"),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,h=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},c=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(h(t)*h(e))},f=function(t,e){return(t[0]*e[1]1&&(h*=a(x),p*=a(x));var b=(r===o?-1:1)*a((h*h*(p*p)-h*h*(_*_)-p*p*(m*m))/(h*h*(_*_)+p*p*(m*m)))||0,S=b*h*_/p,w=b*-p*m/h,M=(t+n)/2+l(y)*S-s(y)*w,T=(e+i)/2+s(y)*S+l(y)*w,k=f([1,0],[(m-S)/h,(_-w)/p]),I=[(m-S)/h,(_-w)/p],C=[(-1*m-S)/h,(-1*_-w)/p],D=f(I,C);c(I,C)<=-1&&(D=u),c(I,C)>=1&&(D=0),0===o&&D>0&&(D-=2*u),1===o&&D<0&&(D+=2*u),v.addData(g,M,T,h,p,k,D,y,o)}var d=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t,e){var n=function(t){if(!t)return new r;for(var e,n=0,i=0,o=n,a=i,s=new r,l=r.CMD,u=t.match(d),h=0;h